Why do we use object in class?

an object is an element (or instance) of a class; objects have the behaviors of their class . The object is the actual component of programs, while the class specifies how instances are created and how they behave. method: a method is an action which an object is able to perform.

Sizin İçin Seçtik  What is object and how it is created?

Leave a Reply

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