3456/are-arrays-equivalent-to-objects-in-java
Array Declaration in Java is :
String[] array = new String[10]; int size = array.length;
This is also how Objects are created in Java. So is array an Object ?
Yes; the Java Language Specification writes:
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.
Arrays are not a primitive type in ...READ MORE
A static keyword can be used with ...READ MORE