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
Difference between this() and super() in java ?
What is the function of java?
What is a text string?
What is initial size of arraylist in java?
What are the high-level thread states in java programming?
Is void a type?
Explain the usage of this with constructors?
Is empty .java file name a valid source file name?
What do you mean by light weight and heavy weight components?
how to write a server program and sending the mails to the server using smtp protocol please help me
Are variables stored in ram?
What is the role of garbage collector in java?
Can a constructor be private and how are this() and super() method used with constructor?
What is null data type?
Why main method is static in java?