0
can anyone find and clarify the error in this code
4 Réponses
+ 1
String[] allCars= cars.split(",");
for (String car: allCars)
{
System.out.println(car);
}
cars.split(","), not cars.spilt(",")
System.out.println(car), not System.out.println(allCars)
+ 1
Yes ~ swim ~ that is true.
+ 1
System.out.println(cars);❌
System.out.println(car);✔️