Kunal  Gautam
Does constructor return any value in Java?
By Kunal Gautam in Java on May 12 2013
  • Atul Singh
    Sep, 2015 22

    Yes it always return reference of object for which it was executed by run time environment. But constructor does not have any return type, this is because constructor always return reference of object which is fixed. It means type of reference will not be changed so no need to specify return type of constructor.

    • 0
  • Shweta Lodha
    Apr, 2014 23

    constructor doesn't have any return type

    • 0
  • Munesh Sharma
    Apr, 2014 23

    no

    • 0


Most Popular Job Functions


MOST LIKED QUESTIONS