Identify the statements listed below as assignment, increment, method invocation or object creation statements.
- System.out.println("Java");
- costPrice = 457.50;
- Car hybrid = new Car();
- petrolPrice++;
Single Choice
Views 58
Answer:
- Method Invocation
- Assignment
- Object Creation
- Increment
Related Articles:
This section is dedicated exclusively to Questions & Answers. For an in-depth exploration of Java Programming Language, click the links and dive deeper into this subject.
Join Our telegram group to ask Questions
Click below button to join our groups.