logo

Crowdly

Browser

Add to Chrome

Pour la classe D définie comme suit : For class D defined as follows : class...

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

Pour la classe D définie comme suit :

For class D defined as follows :

class D { public int x ; 

public D() {x=3 ; } ; 

public D( int a){this() ; x=x+a ;} ; 

public D( int a, int b){this(b) ; x= x-a ;}

}

qu’affichera le code suivant ? 

what will the following code display? 

D a=new D(5,6) ; 

System.out.println(a.x) ;

0%
0%
0%
0%
More questions like this

Want instant access to all verified answers on moodle-ovh.isep.fr?

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

Browser

Add to Chrome