• Post Reply Bookmark Topic Watch Topic
  • New Topic

Interfaces  RSS feed

 
Dale DeMott
Ranch Hand
Posts: 515
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
When using an interface, I know you are forced to use at least the method signatures in the interface that you implement. However can you add other methods to the class that you are using. Or will the interface make these invisible?
Dale

------------------
By failing to prepare, you are preparing to fail.
Benjamin Franklin (1706 - 1790)
 
Cindy Glass
"The Hood"
Sheriff
Posts: 8521
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can add additional methods. You can implement more than one interface.
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!