aspose file tools*
The moose likes Beginning Java and the fly likes Defining object oriented terms Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Defining object oriented terms" Watch "Defining object oriented terms" New topic
Author

Defining object oriented terms

goel Ashish
Greenhorn

Joined: May 14, 2011
Posts: 21
Hi,

Can anybody give me general definitions for the following object oriented concepts :- Encapsulation, inheritance, polymorphism, abstraction, decomposition, cohesion, coupling.
And then relate this concepts specifically with java language with examples ?

I know about these terms but have no clear definition for interview purpose. So any help from you guys is appreciated.
Thanks in advance.
Wouter Oet
Saloon Keeper

Joined: Oct 25, 2008
Posts: 2700

For each of those terms there is a ton of material out there. What exactly don't you get?


"Any fool can write code that a computer can understand. Good programmers write code that humans can understand." --- Martin Fowler
Please correct my English.
fred rosenberger
lowercase baba
Bartender

Joined: Oct 02, 2003
Posts: 11475
    
  16

Have you tried looking these terms up in a book, on google, or the wikipedia? I'm sure any of those would have the answers you are seeking, and would be much faster than waiting for someone here to do the exact same thing and then paste the results here.

If you do that and still have questions, by all means come back and ask for clarification. But most folks here will put as much effort into answering your question as you did asking it...and so far, you haven't shown any effort at all.


There are only two hard things in computer science: cache invalidation, naming things, and off-by-one errors
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 39784
    
  28
fred rosenberger wrote: . . . a book [etc.] . . . would have the answers you are seeking, and would be much faster . . .
And possibly more accurate. If somebody answers quickly, they might inadvertently make a mistake in their reply.
goel Ashish
Greenhorn

Joined: May 14, 2011
Posts: 21
I understand most of these terms but not as a general oo concept. Its fine and as you suggested i will look more into some of the material and will post the my question again.
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 39784
    
  28
It would be a good idea to write down what you think those terms mean. Then you will get some helpful replies.
 
 
subject: Defining object oriented terms