Вопрос 10. class User { private String name; public User( String name ) { this.name = name; } public boolean equals( Object obj ) { User user = (User) obj; return user.name.equals( name ); } class Foo { public static void main(String...arguments) { U