create an object obj of class student
plss reply fast
Answers
Answered by
0
Answer:
Java new Operator
Explanation:
Java new Operator
This is the most popular way to create an object in Java. A new operator is also followed by a call to constructor which initializes the new object. While we create an object it occupies space in the heap.
Answered by
0
Answer:
Syntax - class_name object_name = new class_name()
Similar questions