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

Differentiate constructor and a method and how are it be
used?

Answer Posted / janet

Constructor will be automatically invoked when an object is
created whereas method has to be called explicitly.

Is This Answer Correct ?    11 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How does linkedlist work in java?

880


How java is similar to c?

1006


How java enabled high performance?

1009


Describe the syntax of multiple inheritance? When do we use such an inheritance?

1042


What is the use of arrays tostring () in java?

999


Can we override compareto method?

906


Which programming language is most secure?

944


What is javac used for?

894


In a program, initializing an array of 100 KB is throwing an out of memory exception while there is 100 MB of memory available. Why?

993


define the terminology association.

1058


What are the 5 types of research methods?

1100


What is the difference between class & structure?

1133


Explain jdk, jre and jvm?

927


What is object data type?

957


What is the applet security manager, and what does it provide?

959