Which is correct syntax?
Which is correct syntax? Correct Answer classname objectname= new classname();
The syntax for object creating in java with calling a constructor for is it is as in option c. The syntax must contain the classname followed by the object name. The keyword new must be used and then the constructor call with or without the parameters as required.
মোঃ আরিফুল ইসলাম
Feb 20, 2025