+ 2
Why is the name of .java file equal to the name of the public class?
1 Antwort
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.