Live quiz

java - Part 23

Question 1 of 25 Hints left: 3
Q1

What will be the output of the following Java program? class box { int width; int height; int length; } class mainclass { public static void main(String args[]) { box obj = new box(); System.out.println(obj); } }

  • A
  • B
  • C
  • D