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 are the differences between Java 1.0 and Java 2.0?
what do you mean by marker interface in java?
we have syntax like for(int var : arrayName) this syntax is to find whether a number is in the array or not.but i want to know how to find that number's location.
What is multi level inheritance in java?
What is fail first in java?
Explain garbage collection in java?
What is the difference between a choice and a list?
Write a program to reverse array in place?
What are the files generated after using IDL to java compiler?
What is a method in programming?
What is meant by memory leak?
Tell me the Importent classes in net package?
What is difference between arraylist and list in java?
What is meant by method?
Tell us something about an iterator.