Menu
×
×
Correct!

Exercise:

Change the value from "Volvo" to "Opel", in the cars array.

String[] cars = {"Volvo", "BMW", "Ford"}; cars[0] = "Opel"; System.out.println(cars[0]);

Not Correct

Click here to try again.

Correct!

Next ❯
String[] cars = {"Volvo", "BMW", "Ford"};
 = ;
System.out.println(cars[0]);

  
  
  




Completed 0 of 59 Exercises:

Java Syntax
Java Variables
Java Data Types
Java Operators
Java Strings
Java Math
Java Booleans
Java If...Else
Java Switch
Java Loops
Java Arrays
Java Methods
Java Classes/Objects
Java Exceptions

×

Reset the Score?

This will reset the score of ALL 59 exercises.

Are you sure you want to continue?



×

Congratulations!

You have finished all 59 Java exercises.

Share your score: