engineering recuitment RPSC Programmer Mock Test 2024 Programming and Data Structure Programming in C
Which is true of constructors in JAVA?
1
They have the same name as the class and have no return type
2
They can take a parameter that is of the same class type
3
If no constructor is defined for a class, the compiler supplies a default constructor
4
All of the above