class and object are inter-related. explain?
Answers
Answered by
2
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.♡
Similar questions