Home / CSE MCQs / JAVA MCQs :: Discussion

Discussion :: JAVA MCQs

  1. Which of these methods can be used to output a sting in an applet?
  2. A.
    display()
    B.
    print()
    C.
    drawString()
    D.
    transient()

    View Answer

    Workspace

    Answer : Option C

    Explanation :

    drawString() method is defined in Graphics class, it is used to output a string in an applet.


Be The First To Comment