Get Adobe Flash player

Saturday, November 12, 2011

Basic Concept of Object Oriented Programming

Objects & Classes:

Objects are the basic runtime entities in an Object-Orients System. They may represent a person, a bank, a car etc… Each object has its own properties and behavior.  For example if we chose a CAR as an object then its properties will be number of wheels, height, width, length, body material etc, and its behavior will be run, turn left, turn right, turn backward etc..

j1                                                                                                                                                     

But in a programming domain objects interacts with each other by sending massages. Like a User account interact with a Bank Account…

 

In programming view an object is a combination of some data and code.  These data and code of an object can be made a user defined data type using the concept of a Class.  So what is class?

 

1.       If we taught class as a Data type then objects will be the variable of this Data type.

2.       If we taught class as a blueprint of a building then the building is an object.

3.       If we taught class as a recipe then the cocked food is an object.

4 comments:

Unknown said...

Nice post. thanks for sharing this with us. I think it will help all. for much more about Java just take a look java basic concepts

karthik said...

Wow it is really wonderful and awesome thus it is very much useful for me to understand many concepts and helped me a lot. it is really explainable very well and i got more information from your blog.
microsoft azure training in bangalore
rpa interview questions and answers
automation anywhere interview questions and answers
blueprism interview questions and answers
uipath interview questions and answers
rpa training in bangalore

Unknown said...

From your discussion I have understood that which will be better for me and which is easy to use. Really, I have liked your brilliant discussion. I will comThis is great helping material for every one visitor. You have done a great responsible person. i want to say thanks owner of this blog.
python Course in Pune
python Course institute in Chennai
python Training institute in Bangalore

sheela rajesh said...

I have to appreciate you for your great work which you had done in your blog.i want you to add more like this.
JAVA Training in Chennai
JAVA Training in Tambaram
IOS Training in Chennai
Big data training in chennai
Python Training in Chennai
Selenium Training in Chennai
JAVA training in Annanagar
Java courses in chennai anna nagar

Post a Comment