+ 1

Why a Single Java Source File Can Not Have More Than One Public Class

https://dzone.com/articles/why-single-java-source-file-can-not-have-more-than.. I CANT UNDERSTAND EASILY

2nd Apr 2018, 9:30 PM
Arun Tomar
Arun Tomar - avatar
2 Answers
+ 11
most of the answers I found are giving reason "to improve code readability & to organice code" //btw U will some examples too : https://stackoverflow.com/questions/3578490/why-only-1-public-class-in-java-file
3rd Apr 2018, 4:22 AM
Gaurav Agrawal
Gaurav Agrawal - avatar
0
i read it.. but.. cant put my finger.
2nd Apr 2018, 9:30 PM
Arun Tomar
Arun Tomar - avatar