Thread or Parts of A Program?: Question Insights
Thread or Parts of A Program?: Question Insights
Thread or Parts of A Program?: Question Insights
paint()
display()
displayApplet()
PrintApplet()
2 Which of these methods can be used to output a string in an applet?
drawString()
display()
print()
transient()
paint()
display()
drawString()
transient()
5 Which of these modifiers can be used for a variable so that it can be accessed from any
thread or parts of a program?
volatile
transient
global
No modifier is needed
6 Which of these operators can be used to get run time information about an object?
instanceof
Info
getInfo
getinfoof
Question Insights »
7 In Servlet Terminology what provides runtime environment for JavaEE (j2ee) applications.
It performs many operations that are given below: 1. Life Cycle Management 2.
Multithreaded support 3. Object Pooling 4. Security etc.
C ontainer
Webserver
Server
Application Server
8 An applet can play an audio file represented by the AudioClip interface in the java, applet
package Causes the audio clip to replay continually in which method?
None of these
9 Which are the common security restrictions in applets?
Both Applets can't load libraries or define native methods and An applet can't read every system property
None of these
10 From the following statements which is a drawback for Applet?
It can be executed by browsers running under many platforms, including Linux, Windows, and Mac Os
etc.
Secured
paint()
init()
stop()
destroy()