What are inbuilt classes in Java?

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  Is contains in C# case sensitive?

Leave a Reply

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

What are inbuilt classes in Java?

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  Sedat Köse hangi hastanede çalışıyor?

Leave a Reply

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