What is OOP?

Object Orient Programming (OOP) is a programming language model organize around “Object” rather the “Actions”.

  • Object is basically compromised of three parts.

1. Identity= Name of object. E.g.: Book etc.

2. Attributes= It is called property. E.g.: Roll no etc.

3. Behaviour= What action is been perform. E.g.: Result, Open etc.

  • Class: A class is a collection of similar type.
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s