3
Reply

Explain the concept of Class and Object in OOP?

Arjun Kumar

Arjun Kumar

12y
2.5k
0
Reply

    A class is a group of objects that has common properties.Object is an instance of a class.

    Class is a collection of method,properties,variables and object is a physical representation of a class or we can say that object is a medium for accessing the element of a class

    class is a collection of variables and methods, instance of objects with implementation of methodsobject is the instance of objects using class name can create the object