eg : int x float y instance employee emp
SBI - - > state behavior identity
State : It is a just a value to the attribute of an object at a particular time. Behavior : It describes the action and their reactions of that object Identity : An object has an identity that characterizes its own existence
Class | Object |
Data type/ user defined | Instance of class |
It is a logical entity | Object is a physical entity |
Class does not have state | it having state. |
You liked the article?
Like : 0
Vote for difficulty
Current difficulty (Avg): Medium
1/15
TekSlate is the best online training provider in delivering world-class IT skills to individuals and corporates from all parts of the globe. We are proven experts in accumulating every need of an IT skills upgrade aspirant and have delivered excellent services. We aim to bring you all the essentials to learn and master new technologies in the market with our articles, blogs, and videos. Build your career success with us, enhancing most in-demand skills in the market.
Stay Updated
Get stories of change makers and innovators from the startup ecosystem in your inbox