+ 3

How many public class possible in one java file??

I want to know , how many public classes we can create in one java file. When I search on Google I got ans one but I tried on ide so I created two public class in one main class ... Some can explain this phenomenon of classes??

18th Feb 2019, 5:01 PM
Vipinkumar V. Mishra
Vipinkumar V. Mishra - avatar
2 Answers
+ 8
Wow, only one answer here, that too by the JAVA Queen!😰😼😼👍😄
18th Feb 2019, 5:54 PM
Nimit Sandeep Jhunjhunwala
Nimit Sandeep Jhunjhunwala - avatar