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


Please Help Members By Posting Answers For Below Questions

why we use merge option in hybernate pls give a ex snippet

1717


Explain about the security aspect of java?

792


What is length in java?

782


Explain which of the following methods releases the lock when yield(), join(),sleep(),wait(),notify(), notifyall() methods are executed?

866


What are the different types of methodologies?

782


Is java se free?

728


What is the default size of arraylist in java?

762


what are the methods in object?

894


Can we convert list to set in java?

755


What is an image buffer?

748


What does singleton mean in java?

752


What are decalarations?

862


What is the exception hierarchy in java?

755


Explain the concept of hashtables?

849


Explain the transient field modifier?

804