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 the difference between the jdk 1.02 event model and the event-delegation model introduced with jdk 1.1?
What is the instance of an object?
What is consumer interface?
What does the @override annotation do?
Why string is a class?
What is tcp ip in java?
What is the difference between a vector & an array list?
What string is utf8?
How are observer and observable used in java programming?
Does treeset use compareto?
How we can make copy of a java object?
What is mnemonic in assembly language?
If an object reference is set to null, will the garbage collector immediately free the memory held by that object?
What is the difference between stringbuffer and stringbuilder?
What is method reference in java?