package bytebank;
public class PrimeiraConta { public static void main(String[] args) { Conta Primeiraconta = new Conta(); PrimeiraConta.saldo = 200; System.out.println(PrimeiraConta.saldo); PrimeiraConta.saldo += 100; System.out.println(PrimeiraConta.saldo);
Conta SegundaConta = new conta();
SegundaConta.saldo = 50;
System.out.println(" Primeira conta tem" + PrimeiraConta.Saldo);
System.out.println("Segunda conta tem" + SegundaConta.saldo);
}
} Exception in thread "main" java.lang.Error: Unresolved compilation problems: Conta cannot be resolved to a type Conta cannot be resolved to a type saldo cannot be resolved or is not a field saldo cannot be resolved or is not a field saldo cannot be resolved or is not a field saldo cannot be resolved or is not a field Conta cannot be resolved to a type conta cannot be resolved to a type Saldo cannot be resolved or is not a field
at bytebank/bytebank.PrimeiraConta.main(PrimeiraConta.java:5)