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 / ganesh slv

Sorry for the above..
its

If you declared a class as public, your file name should be
the same of your class name.

Is This Answer Correct ?    8 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How many arguments can be passed to main ()?

982


What are peerless components?

1068


How can we make sure main() is the last thread to finish in java program?

1179


What is a pattern what is an anti pattern?

947


What is the use of a copy constructor?

975


What is parse method?

994


List implementations of list interface?

1021


What is illegal identifier in java?

995


What is synchronization and why is it important in java programming?

919


Explain a situation where finally block will not be executed?

1013


What are the four integer types supported by java?

1016


What do you understand by weak reference?

995


What is the difference between static (class) method and instance method?

1064


What are scalar data types?

1042


What string is utf8?

980