Home / Programming MCQs / JAVA MCQs / Question
S
Q. What will be the output for the below code ?
public class Test { public static void main(String[] args) { byte i = 128; System.out.println(i); } }
No solution found for this question.
Add Solution and get +2 points.
You must be Logged in to update hint/solution
Q. Which of the following is a valid long literal?
Q. Java constructor overloading follows ___ principle in Object-Oriented programming.
Q. Classes in the same package cannot access each other's package-access members.
Q. What is the expansion of the compiled java classes?
Q. Switch is more efficient than nested if or if - else in java.
Q. The command-line arguments are passes at ____.
Q. An array of objects, which may have_______ type of different classes.
Discusssion
Login to discuss.