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 differences between heap and stack memory in java? Explain
Can an integer be null java?
What is difference between array and arraylist in java?
can I implement my own start() method? : Java thread
What is java util?
What are different exception types exceptions available in java ?
Can we override private constructor in java?
Does every java program need a main?
Are static members inherited to sub classes?
What are bind parameters?
What is data movement?
How to display all the prime numbers between 1 and n (n is the number, get the input from user)
What does index mean in java?
What is an image buffer?
What is a concrete classes? Is Java object class is concrete class?