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

Answer Posted / jasbir yadav

We can save the file as A.java

Is This Answer Correct ?    5 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Give differences between Quicksort &Mergesort. When should these sorts be used andwhat is their running time in java?

681


Is string a data type in java?

592


Is it possible to override private or static method in java?

546


How do you check if two given string are anagrams?

554


What are the four versions of java?

547






What is this () in java?

580


What is the difference between abstract classes and interfaces?

516


What are different types of states exist for a thread?

552


What are the types of methodology?

516


What is a short in java?

504


Why does abstract class have constructor?

562


Can we have 2 main methods in java class?

543


What is general methodology?

572


What will be the default values of all the elements of an array defined as an instance variable?

559


Discuss about garbage collector in Java.

648