Is type and classes the same?

Type generally refers to the classification of primitive values – integers, strings, arrays, booleans, null, etc. Usually, you can’t create any new types. Class refers to the named set of properties and methods which an object is associated with when it is created.

Sizin İçin Seçtik  What is the name of a concrete class that implements statement and is included in the core JDK?

Leave a Reply

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