Home

Java Programming MCQ Question with Answer

Java Programming MCQ with detailed explanation for interview, entrance and competitive exams. Explanation are given for understanding.

Download Java Programming MCQ Question Answer PDF

Question No : 57
The break statement is required in the default case of a switch selection structure.

True
False

Question No : 58
The expression (x == y && a<b) is true If either x == y is true or a<b is true.

True
False

Question No : 59
A variable declared inside the for loop control can not be referenced out side the loop.

True
False

Question No : 60
Java always provides a default constructor to a class.

True
False

Question No : 61
When present, package must be the first no comment statement in the file.

True
False

Question No : 62
The import statement is always the first no comment statement in a Java program files.

True
False

Question No : 63
Objects are passed to a method by use of call-by-reference.

True
False