StringBuffer s new StringBuffer("Hello");
s.deleteCharAt(0);
a) Hell
b) ello
c) Hel
d) llo
What is the string contained in s after following lines of Java code?
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
What is the string contained in s after following lines of Java code?
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!