• USA : +1 973 910 5725
  • INDIA: +91 905 291 3388
  • info@tekslate.com
  • Login

Objects and Classes in C++


  • ‘C’ is a collection of functions but ‘C++’ is a collection of class and object
  • Object is an instance of class
  • Allocating memory for members of class, is called as instance


eg :

int x

float y                                  instance

employee emp


What do you mean by SBI of an object  ?

SBI  –  – > state behavior identity

  • SBI stand for state, Behavior and identity since every object has the above the rule

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





Data type/ user definedInstance of class
It is a logical entityObject is a physical entity
Class does not have stateit having state.



Review Date
Reviewed Item
Objects and Classes in C++
Author Rating

“At TekSlate, we are trying to create high quality tutorials and articles, if you think any information is incorrect or want to add anything to the article, please feel free to get in touch with us at info@tekslate.com, we will update the article in 24 hours.”

0 Responses on Objects and Classes in C++"

    Leave a Message

    Your email address will not be published. Required fields are marked *

    Site Disclaimer, Copyright © 2016 - All Rights Reserved.


    Please leave a message and we'll get back to you soon.

    I agree to be contacted via e-mail.