Which is correct syntax?
(a) classname objectname= new() integer;
(b) classname objectname= new classname;
(c) classname objectname= new classname();
(d) classname objectname= new() classname();
I have been asked this question in a national level competition.
Question is from Overloading Constructors in division Constructors and Destructors of Object Oriented Programming