A
Q. What will be the output of the following Java program?
class String_demo
{
public static void main(String args[])
{
char chars[] = {'a', 'b', 'c'};
String s = new String(chars);
System.out.println(s);
}
}
- Correct Answer - Option(D)
- Views: 20
- Filed under category Java
- Hashtags:
Discusssion
Login to discuss.