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 only one Class is public in one file? Explain in
details. Thanks in Advance.

Answer Posted / mahendra

In an aplication public class is main class with main()
method as entry point

java compiler allows only one public class in file

Is This Answer Correct ?    12 Yes 8 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Define max and min heap, also the search time of heap.

1075


What is the base class for error and exception?

1038


What are the benefits of operations in java?

1129


How many bytes is 255 characters?

1036


What type of variable is error flag?

1127


What is the purpose of the main method?

1037


What are the important methods of java exception class?

1206


Which java version is latest?

1089


What are three advantages of using functions?

1056


What is the meaning of course?

1142


What is the purpose of file class?

1086


What are java methods?

1195


If A Class Is Declared Without Any Access Modifiers, Where May The Class Be Accessed?

1224


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

1014


Can the garbage collection be forced by any means?

1045