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

What is the epoch date?

1067


Why hashcode is used in java?

1028


What do you mean by scope of variable?

939


Explain the public class modifier?

996


What are inner classes or non static nested classes in java?

1218


Can we declare main () method as non static?

1036


What is collection class in java?

1052


What is the simpletimezone class in java programming?

1167


What are the main features of java?

1018


What does \ mean in regex?

1318


Which oo concept is achieved by using overloading and overriding?

1060


Why is java multithreaded?

1045


What is api data?

1051


What is boolean law?

1132


What is java and why do we need it? Explain

1200