CSE MCQs :: JAVA MCQs
- Which of these functions is called to display the output of an applet?
- Which of these methods can be used to output a sting in an applet?
- What does AWT stands for?
- Which of these methods is a part of Abstract Window Toolkit (AWT) ?
- Which of these modifiers can be used for a variable so that it can be accessed from any thread or parts of a program?
- Which of these operators can be used to get run time information about an object?
-
What is the Message is displayed in the applet made by this program?import java.awt.*;import java.applet.*;public class myapplet extends Applet {public void paint(Graphics g) {g.drawString("A Simple Applet", 20, 20);}}
-
What is the length of the application box made by this program?import java.awt.*;import java.applet.*;public class myapplet extends Applet {public void paint(Graphics g) {g.drawString("A Simple Applet", 20, 20);}}
-
What is the length of the application box made by this program?import java.awt.*;import java.applet.*;public class myapplet extends Applet {Graphic g;g.drawString("A Simple Applet", 20, 20);}