View RSS Feed

My Java Tips

  1. An interface extending an interface

    by , 11-20-2011 at 05:37 PM (My Java Tips)
    The subject topic is very interesting and I decided to write something on it. I hope it will be useful.


    You know about the interfaces. They do not contain the implementation details, rather they contain the method signatures. The class implementing an interface, has to provide the implementation for each interface method. An interface in implemented using the keyword implements.


    Java Code:
    Class Room implements IOffice
    {
    
    The keyword extends ...