Computer Science, asked by SanskritiDahal, 6 months ago

definea class and object in java in simple words
plzzzzzz help me plz​

Answers

Answered by ABHINAVsingh56567
2

Answer:

Classes and Objects are basic concepts of Object Oriented Programming which revolve around the real life entities. Class. A class is a user defined blueprint or prototype from which objects are created. It represents the set of properties or methods that are common to all objects of one type.

Answered by Rohith11111
2

Answer:

class is like a model or a blueprint from which objects are created.

object is the instance of the class

Explanation:

if shape is a class

then circle will be a object of the class shape

and also we can have square as another object created from the same class shape

Similar questions