import java.io.OutputStreamWriter; public class User { private String name; private boolean authorized; public User(String p_name, boolean p_authorized) { name = p_name; authorized = p_authorized; } public String getName() { return name; } public boolean isAuthorized() { return authorized; } public static void main(String[] args) throws Exception { User[] users = new User[2]; users[0] = new User("John Public", false); users[1] = new User("John Rockerfeller", true); for (int i=0; i