Lost universe of Programing

USERNAME :- Guest Forum Post:-114
 
HomePortalGalleryRegisterLog in

Share | 
 

 OBject Oriented Language Part 1.1

Go down 
AuthorMessage
Administrator
Admin
Admin
avatar

Male
Number of posts : 160
Age : 32
Location : Lucknow
Job/hobbies : Software Engeener
What U like To do ? : Because Its Rock with me.
Registration date : 2008-01-06

PostSubject: OBject Oriented Language Part 1.1   1/17/2009, 11:41 pm

The Fundamental idea behind object-oriented language is to combine into a Single unit both data and the functions that operate on the data. Such unit is called an object.If you want to read a data items in an object then you have to call a member function (object function)in an object. it will read the Data item and return the value to you. you cannot access the data directly.So it is safe from accidental alteration. So data and its Function is said to be encapsulated into a single entity.
Lets us understand what is the Object, Object is a set of entities in a real world senario for example state is one of the object of class country, Where Maharastra,uttar pradesh, Andra pradesh etc are one the entities, and they collectively called an object stated as STATE, Another example Class room is the Class and Furneture, Students, Teachers Are different object, SO through this Example you can easily understand what the object is and What the class is all about.
So i terms of computer programming Language, Class is the collection of Data varables and Functions.

If you've never used an object-oriented programming language before, you'll need
to learn a few basic concepts before you can begin writing any code. This lesson
will introduce you to objects, classes, inheritance, interfaces, and packages.
Each discussion focuses on how these concepts relate to the real world, while
simultaneously providing an introduction to the syntax of the C++ programming
language

_________________

""-(`v)-"HACKER OF HEART"-(`v)-"

Back to top Go down
View user profile http://aspx.forumotion.com
 
OBject Oriented Language Part 1.1
Back to top 
Page 1 of 1

Permissions in this forum:You cannot reply to topics in this forum
Lost universe of Programing :: --=| SOURCE CODE |=-- :: C/C++ SOURCE CODE-
Jump to: