Answer Posted / niranjanravi
A java source code file contains atmost one public class
or interface defined with in the file.Java source code
files takes the name of the public class or interface that
is defined with in the source code file.If no public class
or interface is defined with in the source code file then
file must take on a name that is different than its public
class or interface.
Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
what is synchronization and why is it important? : Java thread
What is singleton service?
Explain java coding standards for methods?
What are the 5 types of research methods?
What is difference between Heap and Stack Memory?
What is the maximum size of a string in java?
What do you mean by formatting?
How to handle a web browser resize operation?
Explain about static nested classes in java?
why are wait(), notify() and notifyall() methods defined in the object class? : Java thread
What is a numeric literal?
What is classpath?
Does java support function overloading, pointers, structures, unions or linked lists?
What is the technique adopted to create an immutable class?
What is meant by call by reference?