✅ Перевірена відповідь на це питання доступна нижче. Наші рішення, перевірені спільнотою, допомагають краще зрозуміти матеріал.
Soit la classe Statique2 suivante :
public class Statique2 { private static int a = 0; private int b; public Statique2(int valB) { a++; this.b = valB; } public static int test() { return this.a + b; } public int getB() { return this.b; }}
Cette classe se compile-t-elle correctement ?...