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

What is the declaration statement?

650


Explain the use of volatile field modifier?

766


What is static method with example?

770


Explain what access modifiers can be used for variables?

705


What is append in java?

767






I am unable to find or learn about print command. I have a graphical program in core java in applet but i want to give print command but i have coding for that so if anyone know about this plz mail me on avdhesh_chauhan007@yahoo.co.in

1715


What are different access specifiers in java? Explain

757


why java uses class level type casting ?

2358


What is the purpose of the main method?

675


what is synchronization and why is it important? : Java thread

737


What is an infinite loop in java? Explain with an example.

710


What is thread safe in java?

663


How do you use compareto in java?

688


What is the transient keyword?

1005


Can you explain the usages of class.forname()?

762