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 main() method in java can return any data?

1159


how to create multithreaded program? Explain different ways of using thread? When a thread is created and started, what is its initial state? : Java thread

987


What is the maximum size of arraylist in java?

987


What is javac in java?

985


what is meant by Byte code concept in Java?

1044


what is aggregation in java?

988


Is it safe to install java on my computer?

1116


What is the final access modifier in java?

1063


How can we access some class in another class in java?

978


What are the types of web technologies?

1032


How to run a JAR file through command prompt?

1252


Can list be null in java?

1019


How many types of design patterns are there?

1085


What is the difference between inheritance and encapsulation?

1129


What is an infinite loop? How infinite loop is declared?

1086