
Applet Java
Authored by Prof. ArulkumarV
Computers
University
Used 46+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
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.
a. Server
b. Webserver
c. Container
d. Application Server
2.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
The following example shows the creation of a
import java.applet.*;
import java.awt.*;
public class Main extends Applet{
public void paint(Graphics g){
g.drawString("Welcome in Java Applet.",40,20);
}
}
a. Banner using Applet
b. Basic Applet
c. Display clock
d. None of the above
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
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?
a. public void play()
b. public void loop()
c. public void stop()
d. None of the above
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
4) Which are the common security restrictions in applets?
a. Applets can't load libraries or define native methods
b. An applet can't read every system property
c. Applets can play sounds
d. Both A & B
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
From the following statements which is a drawback for Applet?
a. It works at client side so less response time
b. Secured
c. It can be executed by browsers running under many platforms, including Linux, Windows, and Mac Os etc.
d. Plugin is required at client browser to execute applet
6.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
The APPLET tag is used to start an applet from both an HTML document and from an applet viewer.
a. True
b. False
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What invokes immediately after the start() method and also any time the applet needs to repaint itself in the browser?
a. stop()
b. init()
c. paint()
d. destroy()
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?