+ 2
Why is the name of .java file equal to the name of the public class?
2 odpowiedzi
0
It's required by the compiler. Why they implemented it so you'd have to ask the first developers of Java. But from my point of view it is just there most simple and intuitive solution to implement that. Did that similar in the implementation of a test framework.