uqestion 3 in Java test