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 is internal variable?
What is a consumer in java?
What is the epoch date?
What do heavy weight components mean in java programming?
Is object a data type in java?
How do you make a thread in java?
What are the differences between this and super keyword?
What is Major and importance difference between for and foreach loop ?
How to make a write-only class in java?
What is the purpose of main function in java?
What are the string methods in java?
What all access modifiers are allowed for top class ?
What are keywords and reserved words in java?
How to find the index of the largest number in an arraylist java?
How to display all the prime numbers between 1 and 100