English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

explain briefly all of object oriented programing features

2007-01-18 05:52:22 · 3 answers · asked by soumitrachand 1 in Computers & Internet Programming & Design

3 answers

Objects are software representations of real world things.

Examples are a dish, a customer, an order receipt, a table top, a stove, etc.

Programming objects can have properties and methods, just like real world objects can. Examples are: a stove's command to "light the burner" would be a METHOD of the STOVE object, and the COLOR of the stove would be a PROPERTY.

For an excellent book on Object oriented programming, check out "Learn to Program with Visual BASIC Objects", by John Smiley. I have linked to the Amazon page for this book below. It is one in a series of four books on Visual BASIC 6 programming.

http://www.amazon.com/Learn-Program-Visual-Basic-Objects/dp/1929685165/ref=pd_sim_b_5/103-0726574-9119040

2007-01-18 11:14:32 · answer #1 · answered by Richard H 7 · 0 0

Object oriented programming is a paradigm. Its a method for creating software. The real advantage is that code becomes reusable, can be applied to different problems etc. In many ways it makes programming easier. You can find a good in-depth explanation at:

http://en.wikipedia.org/wiki/Object_oriented_programming

If your asking about what languages are object oriented, then the best answer is just about every modern language heres a list of just a few OO languages avalible:

C++
C#
Java
Python
VB
Perl

2007-01-18 13:59:07 · answer #2 · answered by trnsfrmrsrr 2 · 1 0

Object oriented programming is a design pattern. Basically, instead of just writing procedural code, you create objects that can be categorized. For example, you may have a Wheel object. It has a common function: to roll, and allow objects to move that are attached to it. But there are many types of wheels: bicycles, motorcycles, cars, SUVs, tractor trailers, earth movers. Each of these behaves slightly differently, but they all perform the same function. So you could create objects that descend from wheel to get specific, but in your code you can also refer to each wheel type as a Wheel object and call its common methods.

The idea behind objects is that each should be a 'black box' of functionality, you should know what the object does but not care too much how it does it. This way you don't have to remember exactly how every procedure works so long as you know what it does.

2007-01-18 14:13:06 · answer #3 · answered by Pfo 7 · 1 1

fedest.com, questions and answers