Computer Science, asked by haris4313, 9 months ago

Is an empty java file a valid source file?

Answers

Answered by studenta62
1

Answer:

yes

Explanation:

Yes. An empty .java file is a perfectly valid source file.

java file can contain more than one java classes, provided at the most of them is a public class.

Answered by yumn
8

Answer:

An empty JAVA file is a completely valid source file. JAVA file contain more than one JAVA classes, provided at the most one of them is a public class.

hope it helps mark as brainliest

Similar questions