File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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: 13868
    
  10

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 ?
 
Similar Threads
Answer a programming question, get a tiny bit of fame!
Saw 3 idiots?
Polymorphism
Which Monty Python character are you?
who can give me help???