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 arrays sort in java?

966


How is tree Mirroring implemented?

1081


Can we have any code between try and finally blocks?

1021


What is math floor in java?

950


Can an object subclass another object?

1116


What is the longest unicode character?

1156


Where import statement is used in a java program?

1130


What is ascii code?

1268


What is difference between fail-fast and fail-safe?

1240


Explain the difference between jvm and jre?

1040


Is char a method in java?

1067


What does sprintf return?

1061


What is the final field modifier?

976


Why java applets are more useful for intranets as compared to internet?

1077


Can we have any other return type than void for main method?

956