What is object in OOP with example?

An object in OOPS is nothing but a self-contained component which consists of methods and properties to make a particular type of data useful . For example color name, table, bag, barking. When you send a message to an object, you are asking the object to invoke or execute one of its methods as defined in the class.19 Şub 2022

Sizin İçin Seçtik  What is a class and object?

Leave a Reply

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