Is a class A type?

Because a class defines what you can do with objects of that class, a class defines a type . A class is more than that though, since it also provides a description of how the methods are implemented (something not implied by the type) and how the fields of the object are laid out.

Sizin İçin Seçtik  How do you convert an object in Java?

Leave a Reply

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

Is a class A type?

Because a class defines what you can do with objects of that class, a class defines a type . A class is more than that though, since it also provides a description of how the methods are implemented (something not implied by the type) and how the fields of the object are laid out.

Sizin İçin Seçtik  How do you convert an object in Java?

Leave a Reply

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