why constructor dont have returns type?

Answer Posted / nn

As far as I know, constructor returns the new object.

Is This Answer Correct ?    2 Yes 24 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do I enable java in safari?

759


What is the reason behind using constructors and destructors?

781


what is predefined function in java?

742


What are autoboxing and unboxing? When does it occur?

696


What is string [] args?

779


Can we declare an interface as final?

766


Which package has light weight components in java programming?

874


Can we make the abstract methods static in java?

776


Is it possible to override private or static method in java?

736


Explain wrapper classes in java?

749


What is polymorphism java example?

758


Which is bigger float or double?

743


What is a ternary operator in java? What is an interface?

751


What is boolean strategy?

850


How can you make sure that your singleton class will always return single instance in multi-threaded environment?

776