Win a copy of Learn Spring Security (video course) this week in the Spring forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Real Time difference between abstract and interface

 
Rajendra Prakash
Ranch Hand
Posts: 293
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I know the difference between abstract and interface , but i want to know real time example for abstract and interface.
where to use abstract and interface
 
Muhammad Khojaye
Ranch Hand
Posts: 449
IntelliJ IDE Java Scala
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There is a FAQ regarding this. Please post, If still have any question.
 
Rajendra Prakash
Ranch Hand
Posts: 293
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Give me real time example for difference between abstract and interface.
 
Martin Vanyavchich
Ranch Hand
Posts: 241
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I don't know if this will answer your question, but it's worth a try

Example of Interface
Example of Abstract class
... and a concrete class extending the abstract one

You know, a couple of clicks in the java API docs, and you could have figured this one out youself.

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic