Why are arrays Objects, but can not be used as a base class?
问题 The Java language specification specifies that In the Java programming language arrays are objects (§4.3.1), are dynamically created, and may be assigned to variables of type Object (§4.3.2). All methods of class Object may be invoked on an array. So, considering arrays are objects — why did the Java designers make the decision not to allow inherit and override from it, for example, toString() or equals() ? The current syntax wouldn't allow creating anonymous classes with an array as the base