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 is the difference between constructor and method?

Answer Posted / shadow

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

$HADOW

Is This Answer Correct ?    13 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Differentiate between static and non-static methods in java.

1049


How do you use compareto in java?

971


can I implement my own start() method? : Java thread

991


Difference between throw and throws?

1105


hr interview how many minutes asking question

2042


What are sets in java?

946


Implementations of set interface?

1013


Why is it called boolean?

1005


What is the purpose of a parameter?

1074


why are there separate wait and sleep methods? : Java thread

1024


What is java lang string?

983


What is the java idl system?

1042


What are the advantages of encapsulation in java?

1012


Can we have multiple classes in single file ?

1067


Why are global variables used?

1022