A

Admin • 833.24K Points
Coach

Q. The implicit return type of a constructor is

  • (A) void
  • (B) A class object in which it is defined.
  • (C) There is no return type.
  • (D) None of the above
  • Correct Answer - Option(B)
  • Views: 27
  • Filed under category Java
  • Hashtags:

Explanation by: Admin

Constructors are special methods in Java used to create objects of a class.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.