Why to give the file name same as the public class name in
java?
Answer Posted / akanksha bansal
So that ,that class is accessible from some other class/file
as well
| Is This Answer Correct ? | 10 Yes | 2 No |
Post New Answer View All Answers
What is stack example?
what is a green thread? : Java thread
What is main in java?
Which api is provided by java for operations on set of objects?
What is mnemonic code?
Is vector synchronized in java?
Why collection is called framework in java?
What are the differences between string and stringbuffer?
What is nested top-level class?
How to make a write-only class in java?
What will happen if static modifier is removed from the signature of the main method?
What is class forname used for?
Is string a wrapper class?
Why are global variables used?
Why hashcode is used in java?