Talk:Interface (Java): Difference between revisions

Content deleted Content added
Line 62:
 
Would it be appropriate to include information about how a generic class uses the "extends" keyword when inheriting from a base class AND multiple interfaces? For a refernce of what I am speaking of, view: http://stackoverflow.com/questions/4258447/what-does-the-java-compiler-do-with-multiple-generic-bounds . [[Special:Contributions/64.55.132.4|64.55.132.4]] ([[User talk:64.55.132.4|talk]]) 18:49, 2 July 2012 (UTC)
 
== Extending interfaces ==
 
Am I right that a concrete class cannot add any new public methods if it is only implementing interfaces and does not have an "extends" relationship with a superclass? It seems to compile but will not expose the method to calling classes. -- [[User:Beland|Beland]] ([[User talk:Beland|talk]]) 19:01, 24 July 2013 (UTC)