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 program without class

Answer Posted / mahipal

no,because java is purely object oriented language,so we can't create the objects with out writing a class.And also we can save the code as classname.java that's the reason also we must create a class

Is This Answer Correct ?    3 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are predicates in java 8?

1074


Why call by value prevents parameter value change?

1123


How can the checkbox class be used to create a radio button?

1079


How do you reverse a word in java?

1146


How can you make sure that your singleton class will always return single instance in multi-threaded environment?

1080


Is 0 true or false?

1046


How do you print array in java?

1044


What is java and their uses?

1085


How many types of operators are there?

1031


Tell me a few examples of final classes defined in Java API?

1156


What is the java idl system?

1082


How many bits is a 64 bit byte?

1136


Explain how to force the garbage collection in java.

1019


What are data structures in java?

1025


What is super in java?

1042