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
How to disable caching on back button of the browser?
Is integer passed by reference in java?
What is a line break example?
What is core java called?
Can we override constructors in java?
What do you mean by an object in java?
What is the synchronized method modifier?
What steps are taken when the OS shifts from one-thread execution to another?
What about features of local inner class?
Is java programming easy?
What are the major drawbacks of external iteration?
What is a boolean structure?
Is string thread safe in java?
Can we extend immutable class?
Define how destructors are defined in java?