PDA

View Full Version : What is Object-oriente? and some advice please


Genie1
06-18-2007, 01:35 PM
Hi to all members of CodingForums.com,

I have stated to learn Java (from a book), and finding it interesting so far, as i am getting told the basics and then the advance stuff.
As i was reading this book and i found out that Object-oriented was out dont know what it is, can some one tell me please in plain english,on what it does.


Thank you

Mustafa

1212jtraceur
06-18-2007, 04:04 PM
Hi Genie1, welcome to CodingForums (CodingFora?)!

Object-oriented Programming (OOP) is a programming paradigm that has "objects" (things), which have "methods" (functions that have a parent object). I can't really think of more to say right now, see here (http://en.wikipedia.org/wiki/Object-oriented_programming) for more info.

Genie1
06-18-2007, 05:33 PM
Thank you for your reply
I understand some of it, might be able to when i some more experiance ;)

brad211987
06-19-2007, 12:00 AM
The easiest way for me to understand it, is in OOP, you essentially model your program based on what you see in the real world. For example, if you were making a program that classifies automobiles, you may have a Car class(aka object). This object will have some attributes that describe it, such as make, model, color, etc.... These would be data members within your class. This is the very basic idea behind OOP. You will see that it gets much more in depth as you move along with it.