1.

What is the output of this program?

public class String_Example
{
public static void main(String args[])
{
char chars[] = {'I', 'L', 'U'};
String obj = new String(chars);
System.out.println(obj);
}
}

A. ILU
B. ULI
C. IUL
D. LUI
E. LIU
Answer» B. ULI


Discussion

No Comment Found

Related MCQs