Computer Science, asked by divyanshi261, 1 year ago

♠ HÿE ♠

Ďifferentiate between Class and Øbject.

# COMPUTER SCIENCE

Thanks ❤❤

Answers

Answered by Anonymous
2
☺HIYA MATE...

➡️YOUR ANSWER IS:-

Objects have states and behaviors. Example: A dog has states - color, name, breed as well as behaviors – wagging the tail, barking, eating. 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 objectof its type support.

HOPE IT WILL HELP YOU ✌✌
❄❄❄❄❄❄❄❄❄❄❄❄❄❄❄❄❄
Answered by Anonymous
3
Hey ❤,

Object

- A instant of object is know as class.

- It's a physical entity.

- Object is created by using new keyboard.

Class

- A blueprint with which objects are created are known as class.

- It's a logical entity.

- Class is created by using class keyboard.

Hope this helps you out! ♥

divyanshi261: Tysm ☺
Anonymous: ❤ your most welcome♥
divyanshi261: ☺ ✌
Anonymous: thank you so much for your valuable feedback ❤
divyanshi261: thanka btane k liye ☺
Similar questions