1.

What is the output of this program?

class box_Shape
{
int width;
int height;
int length;
}
public class mainclass
{
public static void main(String args[])
{
box_Shape obj = new box_Shape();
System.out.println(obj);
}
}

A. Compiletime error
B. Runtime error
C. Garbage value
D. box_Shape@2a139a55
E. None of these
Answer» E. None of these


Discussion

No Comment Found

Related MCQs