Organizational Research By

Surprising Reserch Topic

boostr.in questions - Question:Can a public class MyClass be defined in a source file named YourClass.java?


A: No the source file name, if it contains a public class, must be the same as the public class name itself with a .java extension.
asked Sep 13, 2013 in Java Interview Questions by anonymous
edited Sep 12, 2013
0 votes
16 views



Related Hot Questions



Government Jobs Opening


...