Multiple choice technology programming languages

Is there any errors in this -> EmployeeMgmt constructor: Public int EmployeeMgmt { emp_id = 100; }

  1. Return type

  2. No errors

  3. Formal parameters

  4. Name

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

Constructors in object-oriented programming cannot have a return type, not even 'void'. The code shows 'Public int EmployeeMgmt' which declares a return type of 'int', making it invalid as a constructor. A constructor should be 'public EmployeeMgmt' with no return type specifier.