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...

Why to give the file name same as the public class name in
java?

Answer Posted / akanksha bansal

So that ,that class is accessible from some other class/file
as well

Is This Answer Correct ?    10 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is stack example?

968


what is a green thread? : Java thread

963


What is main in java?

1081


Which api is provided by java for operations on set of objects?

1415


What is mnemonic code?

974


Is vector synchronized in java?

947


Why collection is called framework in java?

944


What are the differences between string and stringbuffer?

1075


What is nested top-level class?

1002


How to make a write-only class in java?

1024


What will happen if static modifier is removed from the signature of the main method?

919


What is class forname used for?

1011


Is string a wrapper class?

981


Why are global variables used?

959


Why hashcode is used in java?

934