3 ms·
Good on you for trying different languages! "An old Java convention is keeping the name of the file and it's class the same." One correction, the Java compile
by fruchtose 14y ago
Good on you for trying different languages!
"An old Java convention is keeping the name of the file and it's class the same."
One correction, the Java compiler requires the filename to be the same as the public class present in the file. You will see a compile time error if this condition is not met.
- era86 14y agothank you! ive made the correction