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 will you compute size of a structure?

1171


What is java developer skills?

976


What is <> used for in java?

1110


What is the largest data type in java?

964


What is oops in java?

1013


Can a function return a function?

1033


What is comparator in java?

997


What are the two ways in which thread can be created?

1046


How do you declare an array in java?

1051


Which methods are used during serialization and deserialization process?

985


List out benefits of object oriented programming language?

889


What is the console in java?

1147


How are java objects passed to a method and what are native methods?

1073


What is %d in printf?

1038


What is general methodology?

1035