1.

What is the output of this program?

class N
{
int K;
int L;
N()
{
K = 1;
L = 2;
}
}
public class Result
{
public static void main(String args[])
{
N object = new N();
System.out.print(object.toString());
}
}

A. Compilation Error
B. true
C. false
D. String associated with object
E. None of these
Answer» E. None of these


Discussion

No Comment Found

Related MCQs