Write a statement to create an object students which belongs to the class school
Answers
Answered by
2
Answer:
Creating an Object
So basically, an object is created from a class. In Java, the new keyword is used to create new objects. Declaration − A variable declaration with a variable name with an object type. Instantiation − The 'new' keyword is used to create the object.
Explanation:
please follow me and mark me as brain list
Similar questions
Business Studies,
4 months ago
Social Sciences,
4 months ago
History,
4 months ago
India Languages,
8 months ago
Social Sciences,
8 months ago
Physics,
1 year ago
Physics,
1 year ago