Write syntax to create an object of a class in JAVA
Answers
Answered by
3
Answer:
The 'new' keyword is used to create the object.
!! hope it helps !!.
Answered by
13
Answer:
(Class Name) (Object Name) = new (Class Name);
The curly braces are not mandatory, I just used them to differentiate the names of class and objects.
Please mark it as brainliest !!!
Hope you got what you expected.
Thank You,
Yours Answering,
Adithya
Similar questions