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 you sort a list in java?

972


How many digits is int32?

976


why java does not support unsigned keyword?

5239


What string is utf8?

989


Is set ordered?

970


How do you override a variable in java?

1126


What do you mean by global variable?

943


what do you understand by synchronization? Or what is synchronization and why is it important? Or describe synchronization in respect to multithreading? Or what is synchronization? : Java thread

925


How to use arraylist in java netbeans?

1031


What is return null in java?

947


Difference between java and javascript

1083


What are the methods used to implement for the key object in the hash map?

1031


Can a class have multiple superclasses?

1154


How does enum work in java?

1013


What is assembly language?

972