This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes What is OOP and which concepts are a core part of OOP ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "What is OOP and which concepts are a core part of OOP ?" Watch "What is OOP and which concepts are a core part of OOP ?" New topic
Author

What is OOP and which concepts are a core part of OOP ?

Andy Jack
Ranch Hand

Joined: Nov 22, 2012
Posts: 257
I am not sure I know what is the essence of OOP and what is not. Is it essentially just this - being able to represent everything as fields and methods, ie encapsulation ? http://en.wikipedia.org/wiki/Object-oriented_programming Wikipedia says that OOP is also about polymorphism, Inheritance etc. But, are those things the essence of OOP or peripheral features ?


Java Newbie with 72% in OCJP/SCJP - Super Confused Jobless Programmer.
I am a "newbie" too. Please verify my answers before you accept them.
Jesper de Jong
Java Cowboy
Saloon Keeper

Joined: Aug 16, 2005
Posts: 14074
    
  16

The essence is really that you model concepts with objects. Whether specific features such as classes, inheritance and polymorphism are "fundamental" or "peripheral" features is really a theoretical discussion and for many features there isn't even a clearly correct answer, it depends on opinion.

Most current popular OO programming languages support classes, inheritance, polymorphism and other features that are commonly thought of as principal OO features, but not all of them do; JavaScript for example doesn't have classes, but it's still considered an OO language by many people.


Java Beginners FAQ - JavaRanch SCJP FAQ - The Java Tutorial - Java SE 7 API documentation
Scala Notes - My blog about Scala
 
jQuery in Action, 2nd edition
 
subject: What is OOP and which concepts are a core part of OOP ?
 
Similar Threads
Answer a programming question, get a tiny bit of fame!
Saw 3 idiots?
who can give me help???
Polymorphism
Which Monty Python character are you?