MCQ Answer

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

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

Topic : JAVA Constructors

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 is :

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



CCC Online Test 2021 CCC Practice Test Hindi Python Programming Tutorials Best Computer Training Institute in Prayagraj (Allahabad) Best Java Training Institute in Prayagraj (Allahabad) Best Python Training Institute in Prayagraj (Allahabad) O Level Online Test in Hindi Bank SSC Railway TET UPTET Question Bank career counselling in allahabad Sarkari Naukari Notification Best Website and Software Company in Allahabad Sarkari Exam Quiz