What is the output of this program? class output { public static void main(String args[]) { StringBuffer
Fantastic news! We've Found the answer you've been seeking!
Question:
What is the output of this program?
class output {
public static void main(String args[])
{
StringBuffer s1 = new StringBuffer("Hello");
s1.setCharAt(1,x);
System.out.println(s1);
}
}
a) xello
b) xxxxx
c) Hxllo
d) Hexlo
Related Book For
Essentials of Contemporary Management
ISBN: ?978-0077439477
5th edition
Authors: Gareth Jones, Jennifer George
Posted Date: