Computer Science, asked by shouryamohan, 7 months ago


Write a statement in java to:
i. Create an object called Maruti that belongs to a class called Car.​

Answers

Answered by shubhangivs77
5

Answer:

take help of youtube you got your answer

Answered by YashBTanna
5

Answer:

Car Maruti = new Car();

Explanation:

We know that the syntax for naming an object in a class is:

(class_name) (object_name) = new (class_name);

just substitute the names :)

Similar questions