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 / rakesh soni

Hi Mahendra,
This is OK that, compiler allowed only one class as public
per file. But my question is, why compiler allowed only one
class as a public in one file, why not more then one???

Is This Answer Correct ?    5 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are latest features introduced with java 8?

1061


Explain restrictions on using enum?

1056


Explain JMS in detail.

1004


What mechanism does java use for memory management?

954


What is method overriding in java ?

1171


What is bifunction in java?

1168


Why are arrays useful in java?

1007


Explain about assignment statement?

1007


Is java an ide?

957


Explain the significance of class loaders in bootstrap?

928


Where can i get Latest SUN Certification Dumps and what are the Sun Certification Codes that are available, Im new to JAVA, so please gimme info as i need to write J2EE - Core Java Certification

1842


What is meant by vector class, dictionary class, hash table class, and property class?

1134


What is string [] args?

993


What is the null?

988


What is an enumeration?

1045