Beyond Knowing
Ed Tools
Play Quiz
Sign in
Join Sookshmas
Beyond Knowing
Jobs
Ed-Tools
Play Quiz
Pooja Sharma
Wall
Questions
e-Notes
Calculations
MCQs
News/Article
class box
{
int width;
int height;
int length;
}
class main
{
public static void main(String args[])
{
box obj = new box();
obj.width = 10;
obj.height = 2;
obj.length = 10;
int y = obj.width * obj.height * obj.length;
System.out.print(y);
}
}
Java
Engineering-IT
Engineering-AI
Artificial intelligence
SEM-III
Posted on
by
Score
Share
Views
Comment(s)
Please
Login
to post your answer or reply to answer
Recent MCQ Comments
Recent MCQs
Top Scored MCQs
Scroll
×
Login to India's fastest growing social media for Self-Learners!
Sign in with Google
OR
Not registered?
Create an account
Forgot Password?
×
Join India's fastest growing social media network for learning and education!
Sign in with Google
OR
Already a registered user?
Login