Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

real time example of abstract class and interface

 
mikali singh
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
what are the real time example of abstract class and interface and also give some major difference between them.
 
Jeff Verdegan
Bartender
Posts: 6109
6
Android IntelliJ IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please SearchFirst(←click).

And note that the phrase you're looking for is "real-world," not "real-time."
 
Campbell Ritchie
Sheriff
Pie
Posts: 48930
60
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
One place to search is in our FAQ.
 
Winston Gutkowski
Bartender
Pie
Posts: 10417
63
Eclipse IDE Hibernate Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
mikali singh wrote:what are the real time example of abstract class and interface and also give some major difference between them.

Just for free: there are plenty of examples in the Java Collections API, just one of which is List (java.util.List) and AbstractList. I suggest you look at the docs and see if you can work out the differences for yourself.

Winston
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic