class and objects are inter - related. explain? ?
Answers
Answered by
2
Answer:
Class specifies how an element or instance is created or how they behave.
An object is an element of a class, they are actual component of a program.
How this will help.
Answered by
1
Answer:
class and object are from the esstainal part of object oriented programming where a class can be considered as a construct which encapsulate a group of variable and methods whereas an object acts as member of instance of an class
Similar questions
English,
2 months ago
Physics,
6 months ago
English,
6 months ago
Business Studies,
10 months ago
Computer Science,
10 months ago