Vidyalelo
Java Programming · Q90

Strings

Programming · Java Programming · question 90

Q90

What will be the output of the following Java program? class output public static void main(String args[]) StringBuffer c = new StringBuffer("Hello"); c.delete(0,2); System.out.println(c);

A.
He
B.
Hel
C.
lo
D.
llo
Answer

Answer: Option D

Solution

Answer: Option D
No explanation is given for this question Let's Discuss on Board