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...


. What are the differences between constructor and method of a class in Java?



. What are the differences between constructor and method of a class in Java?..

Answer / nashiinformaticssolutions

Initializing the state of the object is done by constructors. A function Object () { [native code] }, like methods, contains a group of statements (or instructions) that are carried out when an object is created. A method is a group of statements that work together to complete a certain task and return the outcome to the caller. A method has the option of working without returning anything.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Core Java Interview Questions

What do you understand by soft reference?

0 Answers  


What are the main concepts of oops in java?

4 Answers  


What is the difference between JVM and JRE?

0 Answers  


Explain about static nested classes in java?

0 Answers  


What is the different between get and post?

0 Answers  


What is an exception in java?

0 Answers  


What is thread life cycle?

0 Answers  


What are synchronized methods and synchronized statements in java programming?

0 Answers  


Is there any tag in htm to upload and download files?

0 Answers  


How can you eliminate duplicates?

2 Answers  


garbate collector(GC)?

4 Answers  


What is the purpose of the file class in java programming?

0 Answers  


Categories