πŸ“Š JAVA
Q. What is the string contained in s after following lines of code?
Code:
StringBuffer s new StringBuffer("Hello"); s.deleteCharAt(0);
  • (A) Hell
  • (B) ello
  • (C) Hel
  • (D) llo
πŸ’¬ Discuss
βœ… Correct Answer: (B) ello

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
188
Total Visits
πŸ“½οΈ
4 y ago
Published
πŸŽ–οΈ
Ram Sharma
Publisher
πŸ“ˆ
98%
Success Rate