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 do you mean by constant time complexity?

1135


Explain jvm, jre, and jdk?

956


Is char a data type in java?

918


How do you calculate square roots?

1096


What is boolean flag in java?

1033


What are different types of multitasking?

902


What is the difference between Java and C++?

1124


What is the collections api in java programming?

926


What does void * mean?

953


What do you mean by an interface in java?

963


What is the final class modifier?

968


What is an enumeration?

1002


What is the default value of local and global variables?

1041


What is a singleton class? Give a practical example of its usage.

1042


What do you mean by local class?

952