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

How to disable caching on back button of the browser?

1004


Is integer passed by reference in java?

971


What is a line break example?

937


What is core java called?

920


Can we override constructors in java?

1072


What do you mean by an object in java?

1077


What is the synchronized method modifier?

1133


What steps are taken when the OS shifts from one-thread execution to another?

1312


What about features of local inner class?

1009


Is java programming easy?

938


What are the major drawbacks of external iteration?

1012


What is a boolean structure?

1033


Is string thread safe in java?

1032


Can we extend immutable class?

945


Define how destructors are defined in java?

964