What is built-in Java class?

In Java, all classes (built-in or user-defined) are (implicitly) subclasses of Object . Using an array of Object in the List class allows any kind of Object (an instance of any class) to be stored in the list. However, primitive types (int, char, etc) cannot be stored in the list.

Sizin İçin Seçtik  What is EDG token?

Leave a Reply

Your email address will not be published. Required fields are marked *

What is built in Java class?

In Java, all classes (built-in or user-defined) are (implicitly) subclasses of Object . Using an array of Object in the List class allows any kind of Object (an instance of any class) to be stored in the list. However, primitive types (int, char, etc) cannot be stored in the list.

Sizin İçin Seçtik  What are the predefined objects in Java?

Leave a Reply

Your email address will not be published. Required fields are marked *