Menu
Question Index
...

Which of the following is correct?

X: An empty ".java" file is not a valid source file.
Y: A ".java" file can contain more than one java class, provided at the most only one of them is a public class.


X only
Y only
Both are correct
Both are incorrect

Doubts

Problems

Topic: How to Compile and Run Java Program In Cmd Prompt

Read this topic
Take test on this topic

0
Wrong
Score more than 2 points

© meritcampus 2016 - 2017

All Rights Reserved.

Learn Java Programming from our Experts in 30 Days