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...

can we write a program with out a class in core java?

Answer Posted / venkat kanneganti

yes,an empty source file is compiled with out error,but it
will throw Runtime Exception when jvm will not find Main()
method.

Is This Answer Correct ?    18 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

When is the finalize() called? What is the purpose of finalization?

1141


What is singleton pattern?

1156


Why charat is used in java?

1102


Do you know how to reverse string in java?

1210


what is meant by Byte code concept in Java?

1126


What are the two ways of implementing multi-threading in java?

1570


What is map in java?

1046


Can we use switch statement with strings?

1087


What is immutable in java?

1124


Do you need to import math in java?

1055


What is slash r?

1056


Can you access non static variable in static context?

1096


What is the purpose of using the java bean?

1102


What is map and hashmap in java?

1110


Explain access specifiers?

1235