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
What is the history of java?
What is an empty class? What functionality does it offer in Java?
What is ctrl m character?
What is substring 1 in java?
How will you print number in reverse (descending) order in BST.
What do you understand by synchronization?
What does .equals do in java?
What is assembly condition codes?
What is use of super keyword in java?
In java, what is the difference between method overloading and method overriding?
How do singleton patterns work?
Why you should not use singleton?
Are arrays dynamic in java?
What are the ways in which a thread can enter the waiting state?
Compare Mutex and Semaphore in java.