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 is a conditional statement explain with example?

1009


What is the use of parse function in java?

972


What is string :: npos?

1070


What is arrays sort in java?

955


What do you mean by stack?

1146


Explain the difference between an Interface and an Abstract class?

1165


Is zero a natural number?

1028


What will happen to the exception object after exception handling?

988


Why java is a platform independent? Explain

1072


Can we start a thread twice in java?

974


Is java 11 paid version?

976


Can a abstract class be defined without any abstract methods?

994


Why do we need variables?

978


What is the method to expand and collapse nodes in a jtree?

1037


What are aggregate functions explain with examples?

1053