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

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

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