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

In a program, initializing an array of 100 KB is throwing an out of memory exception while there is 100 MB of memory available. Why?

991


When is the finalize() called?

1133


how to split string in java?

1154


Explain runtime exceptions?

1122


What is the difference between path and classpath variables?

979


we have syntax like for(int var : arrayName) this syntax is to find whether a number is in the array or not.but i want to know how to find that number's location.

1992


Explain working of call by reference function invoking.

973


Is double bigger than float?

918


Is there a sort function in java?

928


Can a class extends itself in java?

980


What does java edition mean?

1054


What is the difference between Error, defect,fault, failure and mistake?

1144


What is variable length arguments in java?

923


Which is better stringbuilder or stringbuffer?

882


What state is a thread in when it is executing?

921