Which is correct syntax?
A. classname objectname= new() integer;
B. classname objectname= new classname;
C. classname objectname= new classname();
D. classname objectname= new() classname();
Answer:C
Which is correct syntax?
A. classname objectname= new() integer; B. classname objectname= new classname; C. classname objectname= new classname(); D. classname objectname= new() classname();