What is the output of the following program?
class audi{
public static void main(String[] args) {
double car_model= Math.floor(1.2);
switch(car_model)
{
case 1:
System.out.println("Audi Q7");
break;
case 2:
System.out.println("BMW X5");
break;
}
}
}

Posted on by