Java : JAVA Constructors

Which of the following is not applicable for a constructor function? , Which of the following is not applicable for a constructor function?

Which of the following is not applicable for a constructor function?

Which of the following is not applicable for a constructor function?
A. It has the same name as the class.

B. It has no return-type

C. It is usually used for initialisation

D. It can be invoked using an object like any other member function



Correct Answer :

D. It can be invoked using an object like any other member function



Latest Current Affairs 2026 Online Exam Quiz for One day Exam Online Typing Test CCC Online Test , CCC MCQ Python Coding Tutorials Best Computer Training Institute in Prayagraj (Allahabad) O Level NIELIT Study material and Quiz Website development Company in Allahabad