why constructor dont have returns type?

Answer Posted / krushna

because the constructor is not method

Is This Answer Correct ?    3 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why singleton is not thread safe?

700


What do you mean by JVM?

718


What data structures are used to perform recursion?

726


Can private members of a base class are inheritable justify?

607


What is difference between wait and notify in java?

701






What are the fileinputstream and fileoutputstream?

719


How do I get 64 bit java?

654


What is a website container?

619


How can we create objects if we make the constructor private ?

662


What does business logic mean?

658


When throws keyword is used?

699


what is the significance of listiterator in java?

733


Can we change the scope of the overridden method in the subclass?

980


What is java in detail?

741


What is the main method java?

652