Java’s type system disagrees with itself about one question: if String is an Object, is String[] an Object[]? Arrays say…