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.
( A )
Yes, we can keep multiple classes in single java file.
( B )
Yes,try statements be nested.