Home / CSE MCQs / JAVA MCQs :: Discussion

Discussion :: JAVA MCQs

  1. Which of the following is correct way of implementing an interface salary by class manager?
  2. A.
    class manager extends salary {}
    B.
    class manager implements salary {}
    C.
    class manager imports salary {}
    D.
    None of the mentioned.

    View Answer

    Workspace

    Answer : Option B

    Explanation :

    class manager implements salary {}


Be The First To Comment