logo

Crowdly

Soit la classe Statique2 suivante : public class Statique2 { pr...

✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.

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 Statique2.a;

}

}

Cette classe se compile-t-elle correctement ?...

More questions like this

Want instant access to all verified answers on moodle.univ-lr.fr?

Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!