Explain class A{}
class B{}
class C{}
all the three classes are saved in a single file name, what
the name should i provide to the file ,in what file name
should i run the program? Ple Explain
Answer Posted / cool_duzz
The name of the file should be the same as the class having
public access modifier.. otherwise u can put it the way u
like. 3 .class files will be generated by compiler.
Is This Answer Correct ? | 5 Yes | 5 No |
Post New Answer View All Answers
What causes memory leaks in java?
How do you trim a space in java?
What is the difference between jfc & wfc?
What are keyboard events?
Can java object be locked down for exclusive use by a given thread?
What is main string [] args?
why we use merge option in hybernate pls give a ex snippet
What is a heavyweight component?
How can we create a thread in java?
How do you remove all elements from an arraylist in java?
Is it possible to use string in the switch case?
What does || || mean in math?
What is the purpose of checked and unchecked exceptions in JAVA?
What is the return type of the main method?
Why do we use string?