This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one 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 The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript 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: 14114
    
  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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: What is OOP and which concepts are a core part of OOP ?