Home / Programming MCQs / JAVA MCQs / Question
R
Q. What is the output of the Java code snippet?
int a=25, b=30; boolean c = a>25 | b<40; if(c) { System.out.println("RABBIT"); } else { System.out.println("GOOSE"); }
No solution found for this question.
Add Solution and get +2 points.
You must be Logged in to update hint/solution
A method without the body is called ________ method.
Which of these is long data type literal?
Evaluate the following Java expression, if x=3, y=5, and z=10: ++z + y - y + z + x++
Which are the compatible Data Types for Type Promotion or Type Casting?
The following fraction of code
Discusssion
Login to discuss.