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 are access specifiers in java ?

1148


I want my class to be developed in such a way that no other class (even derived class) can create its objects. How can I do so?

986


Can a final variable be initialized in constructor?

975


What are the types of java languages?

984


Can we extend private class in java?

990


What is the primary benefit of encapsulation?

1092


Is there any limitation of using inheritance?

1093


What is http client in java?

1097


What do you mean by access modifier?

1042


Give some features of interface?

1070


What is the mapping mechanism used by java to identify IDL language?

1012


What is lazy programming?

1046


What are reference variables in java?

1130


What an i/o filter?

1023


What is unicode with example?

1223