• Post Reply Bookmark Topic Watch Topic
  • New Topic

Whats the Difference  RSS feed

 
khaled nabulsi
Greenhorn
Posts: 4
Android Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello every body,

I got some greedy questions if you don't mind,

what's the different between inheritance and composition and Abstract and Polymorphism?

and if could you please explain it to me and what the above really do.

THANKS
 
Jeff Verdegan
Bartender
Posts: 6109
6
Android IntelliJ IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, and welcome to the Ranch!

For broad questions like those, you'll do better if you ShowSomeEffort(⇐click) and SearchFirst(⇐click).
 
khaled nabulsi
Greenhorn
Posts: 4
Android Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,

I do have a book by dietal java how to program but it doesn't show whats the difference between them,

and I saw some oracle tutorials but I couldn't understand yet.
I would appreciate if you told me the difference by quick chat am not asking hard work,

THANKS
 
Jeff Verdegan
Bartender
Posts: 6109
6
Android IntelliJ IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
So you looked at at least 3 different sources for the definition and examples of inheritance, and at least 3 different sources for the definition and examples of composition, and you can't see any differences between them? And you googled "difference between inheritance and composition" and didn't find anything useful?

Sorry, I don't buy it.

Post one of the definitions and examples of inheritance that you found, as well as a definition and example of composition. Then explain why you think they're the same.
 
Jeff Verdegan
Bartender
Posts: 6109
6
Android IntelliJ IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
khaled nabulsi wrote:I would appreciate if you told me the difference by quick chat am not asking hard work,


I am.

People at this site are happy to help others, but we expect you to do the hard work. You have to spend time and effort researching, studying, thinking, and when you still can't understand what you've found, we expect you to spend time and effort to tell us what you think and what exactly you're struggling with.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!