Does constructor return any value in Java?
yes, The constructor implicitly returns the current instance of the class (You can’t use an explicit return type with the constructor).
Recent Posts
yes, The constructor implicitly returns the current instance of the class (You can’t use an explicit return type with the constructor).