Java Language Fundamentals Multiple choice question

Exercise : - Multiple Choice Question On Java, MCQ Java Language fundamentals

This section contains a lot of java question and answer with explanation on the topic language fundamentals. These question and answer are very much helpful for interview(campus interviews, walkin interviews, company interviews), competitive examination ,entrance test and placements. Each question having answer and explanation that would help you to understand easily. These question are designed from basic to advance level. So anyone can learn from here (beginner, fresher, engineering graduate, an experienced IT professional).

All the question of java are listed below on language fundamentals along with detailed explanation / solution and answer.

1) Can we keep multiple classes in same java file?
A. True
B. False

Answer:

True

Option:

( A )


Explanation :

Yes, we can keep multiple classes in single java file.


2) Can try statements be nested ?
A. False
B. True

Answer:

True

Option:

( B )


Explanation :

Yes,try statements be nested.