Помогите решить проблему
Артём Литовка

Помогите,что не так?Вот что выдает компилятор
Exception in thread "main" java.lang.Error: Unresolved compilation problems:
Account cannot be resolved to a type
Account cannot be resolved to a type
Account cannot be resolved to a type
Account cannot be resolved to a type

at ez.acc.main(acc.java:6)


import static java.lang.System.out;

public class acc {
public static void main (String [] args) {
Account myAccount = new Account();
Account urAccount = new Account();
myAccount.name = "Artem";
myAccount.bal = 23741.00;
myAccount.work = "GoogleDeveloper";
urAccount.name = "Timur";
urAccount.bal = 13.00;
urAccount.work = "Kassir";
out.println();
out.println(myAccount.name);
out.print("has");
out.println(myAccount.bal + "$ on his bank Account");
out.println();
out.println(urAccount.name);
out.print("has");
out.println(urAccount.bal + "$ on his bank Account");

}

}

Артём Литовка 11 месяцев назадСпасибо 0
2 чел.