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 there are some null interface in java? What does it mean?
Why we used break and continue statement in java?
what is abstract class in Java?
Why runnable interface is used in java?
Write a program to find the greatest of three numbers in java?
Does windows 10 need java?
What do you understand by garbage collection in Java? Can it be forced to run?
What is off heap memory?
Is it possible to define a method in java class but provide it’s implementation in the code of another language like c?
Can a class extend more than one class?
What is the abstraction?
Why is static used?
How can we avoid including a header more than once?
How does finally block differ from finalize() method?
what is the significance of listiterator in java?