Bookmark Topic Watch Topic
  • New Topic

interface question #2  RSS feed

 
Abigail Decan
Ranch Hand
Posts: 65
  • Mark post as helpful
  • send pies
  • Report post to moderator
If you make this change, then all classes that implement the old DoIt interface will break because they no longer implement the old interface. Programmers relying on this interface will protest loudly

so if a class implements an interface, it has to define EVERY method in the interface??

http://docs.oracle.com/javase/tutorial/java/IandI/nogrow.html
 
Winston Gutkowski
Bartender
Posts: 10575
66
Eclipse IDE Hibernate Ubuntu
  • Mark post as helpful
  • send pies
  • Report post to moderator
Abigail Decan wrote:
If you make this change, then all classes that implement the old DoIt interface will break because they no longer implement the old interface. Programmers relying on this interface will protest loudly

so if a class implements an interface, it has to define EVERY method in the interface??
http://docs.oracle.com/javase/tutorial/java/IandI/nogrow.html

Abigail.

You don't need to start a new thread to reply to a post. Just use the "Quote" button.
Please also see my reply HERE.

Locking this thread.

Winston
 
    Bookmark Topic Watch Topic
  • New Topic
Boost this thread!