Can a .java file contain more than one java classes? Ans. Yes. A .java file contain more than one java classes, provided at the most one of them is a public class. - Study24x7
Social learning Network
13 Dec 2023 12:31 PM study24x7 study24x7

Can a .java file contain more than one java classes? Ans. Yes. A .java file contain more than one java classes, provided at the most one of them is a public class.

study24x7
Write a comment
Related Questions
500+   more Questions to answer
Most Related Articles