logo

Crowdly

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

✅ 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 a = 5; System.out.println(new Test(a++,a++)); }

}

class Test{

private int a; private int b;

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

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

}

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!