Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

interface and abstract

 
Hendra Kurniawan
Ranch Hand
Posts: 239
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I did an online quiz on java earlier and I got to a question that asked when I should use interfaces and when to use abstract clases. I realize that I never thought much about this. Basically, I use instinct to decide when to use which. I don't really have a golden rule in regard to this principle. can anybody help?
 
Jeff Verdegan
Bartender
Posts: 6109
6
Android IntelliJ IDE Java
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic