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.
How to Compile and Run Java Program In Cmd Prompt
Read this topic
on this topic
What we do
© meritcampus 2019
All Rights Reserved.
Open In App