✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
Quel est l'affichage produit par l'exécution de ce code Java :
import java.util.ArrayList;class Vehicule { private String immatriculation; public Vehicule(String immatriculation) { this.immatriculation = immatriculation; System.out.println("immatriculation : " + this.immatriculation); }}class Automobile extends Vehicule { private int tauxCO2; public Automobile(String immatriculation, int tauxCO2) { super(immatriculation); this.tauxCO2 = tauxCO2; System.out.println("Taux CO2 : " + this.tauxCO2); }}class TestAuto { private static Automobile autoStatique = new Automobile("123AB03",99); public static void main(String[] args) { Automobile auto = new Automobile("345TY78",110); }}
Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!