Which is true from the following options?
i. Constructors should not have the return type but the methods may or may not have a return type ii. Constructors must have the return type but the methods may or may not have return type iii. Constructors may or may not have the same name as that of the class name but methods must have the same name as that of the class name. iv. Constructors must have the same name as that of the class name, but methods may or may not have the same name as that of the class name
Reveal answer
Fill a bubble to check yourself