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 many bytes is a url?
Why deletion in linkedlist is fast than arraylist?
Does importing a package imports its sub-packages as well in java?
Can vector have duplicates in java?
What is role of void keyword in declaring functions?
What is a java list?
How does multithreading take place on a computer with a single cpu?
What is the use of arraylist in java?
What does %d do in java?
What do you meant by active and passive objects?
What is the access scope of a protected method?
Implement two stacks using a single array.
String and stringbuffer both represent string objects. Can we compare string and stringbuffer in java?
How to sort an array in java without using sort method?
What is the range of a character variable?