What is meant by constructor?

Answer Posted / ravikiran(aptech mumbai)

constructor is the one which is used to pass the
initializing parameters during instantiation

Is This Answer Correct ?    9 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is anagram of a string?

507


What does three dots mean in java?

640


What is string value?

630


What are the approaches that you will follow for making a program very efficient?

632


Does java support multiple inheritances?

552






State the merge-sort principle and its time complexity.

561


How many days will it take to learn java?

506


What will be the default values of all the elements of an array defined as an instance variable?

544


Is java 1.7 the same as java 7?

522


How are variables stored in memory?

568


What is string literal in java?

547


Explain about interthread communication and how it takes place in java?

528


Why do we use bufferedreader?

524


Is java developer a good career?

542


Can a static block throw exception?

649