what diff bw constructor method & method

Answer Posted / prasad

A CONSTRUCTOR METHOD IS A METHOD USED TO PERFORM CUSTOM
INITIALIZATIONS.
AND A NORAMAL METHOD IS HAVING INSTANCE VARIABLES AND METHODS

Is This Answer Correct ?    4 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a bean class?

555


What is data encapsulation?

613


Can we write lambda without functional interface?

544


What is jar file in java?

594


what are the different phases in delivering the project during development and maintenance?

4207






What is @resource annotation in java?

569


What is http session in java?

573


What does persist mean in java?

596


Explain main thread under thread class execution?

550


What about products that claim to block java applets at a firewall? : java security

588


What is mq in java?

557


What is repository pattern in java?

558


Explain daemon thread.

635


Is lambda cheaper than ec2?

581


What is mime in java?

571