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

Can we override private constructor in java?

977


Which types of exceptions are caught at compile time?

1033


Can a static member function access member variable of an object?

1009


How many bits is size_t?

995


What is Hierarchy of exception?

1090


What is difference between java and java ee?

1026


What is the difference between sleep and wait in java?

966


What is abstract class constructor called?

1004


Describe string intern() methodology

1063


Give an example of call be reference significance.

1030


What is use of super keyword in java?

1023


What is the difference between yielding and sleeping?

1112


Is integer immutable in java?

988


What is difference between add() and addelement() in vector?

1533


What is difference between classpath and path variables in java?

1195