logo

Crowdly

Browser

Add to Chrome

¿Qué imprime? class Contador { static int s = 0;...

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

¿Qué imprime?

class Contador {

static int s = 0;

int i = 0;

Contador(){ s++; i++; }

}

public class Main {

public static void main(String[] args){

Contador a = new Contador();

Contador b = new Contador();

System.out.println(a.s + " " + a.i);

}

}

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

Want instant access to all verified answers on uamvirtual.uam.edu.ni?

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

Browser

Add to Chrome