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 / anandhi
class a
{
}
class b extends a
{
}
class c
{
public static void main(String arg[])
{
b b1=new b();
....
}
}
so file name c...
Is This Answer Correct ? | 3 Yes | 2 No |
Post New Answer View All Answers
What are the types of relation?
What differences exist between iterator and listiterator?
What is Java Shutdown Hook?
What package is math in java?
What is difference between final and finally in java?
What is boolean example?
Can we have any code between try and finally blocks?
Can we override the static methods?
What is a condition in java?
What is the difference between super class & sub class?
Can we return null in java?
What is final keyword in java?
What will be the output of round(3.7) and ceil(3.7)?
What does localhost mean?
What is array and arraylist in java?