Computer Science, asked by aryan977320, 7 months ago

Identify the statements listed below as assignment,

increment, method invocation or object creation statements.

(i) System.out.println(“Java”);

(ii) costPrice = 457.50;

(iii) Car hybrid = new Car();

(iv) petrolPrice++;​

Answers

Answered by sarahkathuria15
9

(i) method invocation

(ii) assignment

(iii) object creation statement

(iv) increment

Hope it helps. Happy coding!!!

Similar questions