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 / aburar yaseen
we have to have the file name of the class having main
function. if all the three classes are having the main
method we can have any one of the class name as file name.
| Is This Answer Correct ? | 2 Yes | 7 No |
Post New Answer View All Answers
Why synchronization is important in java?
What do you understand by the term wrapper classes?
What does sizeof return?
What is java english?
Can we override the static methods?
What is instance synchronization?
Wha is the output from system.out.println(“hello”+null); ?
What is final keyword in java?
What happens if we override only equals?
What is bom encoding?
What is string syntax?
What is object-oriented programming?
Can we have two methods in a class with the same name?
What are the three types of design patterns?
What is the platform?