class A{
class B{
}
}
in which name u save the file,its the program compile?

Answer Posted / amulkumar

We can save the file using any name;
A.java or B.java

Is This Answer Correct ?    3 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is java code slower than native code?

545


When should I use stringbuffer?

562


which class is the wait() method defined in? : Java thread

511


what is static import in java? Explain

540


What is native code?

524






What is a class in java?

568


What is diamond operator in java?

485


Does java have a compiler?

547


What is serial version uid and its importance in java?

586


Can you declare an interface method static?

571


Can an interface extend a class?

526


What is primitive data type in java?

528


What is bufferedwriter?

529


What are the topics in core java?

515


Is a char always 1 byte?

493