[Solved] Difference between Object[] and Array of specific Objects in java
[ad_1] Car[] can contain only Car instances, or sub-classes of Car instances. If you were to have a class like this: class Honda extends Car , Honda instances can be populated in the Car array as well, because Honda extends from Car. Object[] can contain any Object instances, or any subclass of Object (every class … Read more