Computer Science, asked by sonarpinky, 8 months ago

what is object and class​

Answers

Answered by 900017758
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 aditi8749
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