Results 1 to 4 of 4
  1. #1
    makpandian's Avatar
    makpandian is offline Senior Member
    Join Date
    Dec 2008
    Location
    Chennai
    Posts
    450
    Rep Power
    10

    Default which one of the following is true about interface?

    Which one of the following is true ?

    a)Interface can extend class

    b)Interfaces can implement an interface

    c)Interface can implement an Class

    d)Interface can extend Interface.


    Please read carefully and ans it briefly..
    Mak
    (Living @ Virtual World)

  2. #2
    Singing Boyo is offline Senior Member
    Join Date
    Mar 2009
    Posts
    552
    Rep Power
    10

    Default

    Interface can extend Interface...

    any particular reason for this question???
    If the above doesn't make sense to you, ignore it, but remember it - might be useful!
    And if you just randomly taught yourself to program, well... you're just like me!

  3. #3
    emceenugget is offline Senior Member
    Join Date
    Sep 2008
    Posts
    564
    Rep Power
    10

    Default

    clearly a question in a book and/or for homework. in short, interfaces cannot implement anything as they by definition do not implement anything...

  4. #4
    makpandian's Avatar
    makpandian is offline Senior Member
    Join Date
    Dec 2008
    Location
    Chennai
    Posts
    450
    Rep Power
    10

    Default

    Absolutely you are right.
    I got this ques from SCJA Book from sun..

    Could you please explain your answer briefly?
    Mak
    (Living @ Virtual World)

Similar Threads

  1. while(true)
    By ravian in forum New To Java
    Replies: 7
    Last Post: 06-29-2011, 06:05 AM
  2. A true newbies problem.
    By Kaz in forum New To Java
    Replies: 3
    Last Post: 06-25-2009, 06:12 AM
  3. Replies: 0
    Last Post: 05-26-2008, 07:03 AM
  4. bug (?) in ProcessBuilder.redirectErrorStream(true);
    By gadasie in forum Advanced Java
    Replies: 3
    Last Post: 03-13-2008, 09:04 AM
  5. setVisible(true) does not work
    By Gajesh Tripathi in forum AWT / Swing
    Replies: 2
    Last Post: 10-27-2007, 07:32 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •