ExamVeda
Login
Home
Constructors and Methods
?

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);
     } 
 }

Answer & Solution
Correct Answer: Option D
Let's discuss the solution. Join the discussion
Examveda
Question posted by Examveda
Community

Join the Discussion

No comments yet Be the first to discuss this question.