Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

Answer Posted / neelanand

Since the program is compiled, we can save it with any
filename with .java extension eg. abc.java

but if you want to use it into other program we must save
it with the A.java

Is This Answer Correct ?    4 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to sort double array in java?

978


What is data object example?

1004


What is advantage of java?

1016


Why to use nested classes in java?

1114


Can we write class inside a class in java?

973


What does main method?

973


what is the difference between yielding and sleeping? : Java thread

958


What is the difference between int and integer in java?

1021


How to provide security in java

2268


How to retrieve data from database in java using arraylist?

1049


Why is singleton class used?

1030


What is difference between variable declaration and definition?

963


What is the definition of tree ?

1031


Where are variables stored?

967


What is the Concept of Encapsulation in OOPS

993