what is object and class
Answers
Answered by
1
Answer:
a class describes the contents of the objects that belong to it: it describes an aggregate of data fields (called instance variables), and defines the operations (called methods). object: an object is an element (or instance) of a class; objects have the behaviors of their class.
Explanation:
hope this helps
Answered by
2
Answer:
Object − Objects have states and behaviors. ... An object is an instance of a class. Class − A class can be defined as a template/blueprint that describes the behavior/state that the object of its type support.
Explanation:
Hope you like the answer. Please mark me as the brainliest.
Similar questions
Math,
4 months ago
Math,
8 months ago
Sociology,
8 months ago
Business Studies,
1 year ago
Physics,
1 year ago