Can we define an interface within an interface?

Posted by girinie on Stack Overflow See other posts from Stack Overflow or by girinie
Published on 2010-02-25T06:42:40Z Indexed on 2010/03/14 10:55 UTC
Read the original article Hit count: 524

Filed under:
|

Hi , I like to know can we define an interface within an interface. like

interface abc {
    void show();
    public interface xyz {
        void read();
    }
}

This was question asked in interview. Any real time use of this.

© Stack Overflow or respective owner

Related posts about java

Related posts about interface