class Car {
public String model;
Car(String model) {
this.model = model;
}
}
public class Main {
public static void main(String[] args) {
Car[] cars = {new Car("Tesla"), new Car("BMW"), new Car("Audi")};
System.out.println(cars[1].model);
}
}
What will be the output of the above code?