Leave a Reply 2

Your email address will not be published. Required fields are marked *


ana

ana

public class Case {
public static void main(String[] args) {
Boolean[] bool = new Boolean[2];

bool[0] = new Boolean (Boolean.parseBoolean (“true”));
bool[1] = new Boolean (null);

System.out.println(bool[0] + ” ” + bool[1]);
}
}

output: true false