logo

Crowdly

Що буде виведено п і сля виконання наступного фрагменту Java - коду: pub...

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

Що буде виведено після виконання наступного фрагменту Java - коду:

public class Mamamia {

public static void main (String[] args)

{int x = 6/5; System.out.println(new Test(x,--x));}

}

class Test{

private int a; private int b;

public Test(int a, int b){ this.a =a++; this.b =a++;}

public String toString(){ return a + " " + a;}

}

More questions like this

Want instant access to all verified answers on vns.lpnu.ua?

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