Chapter 20 Flashcards

1
Q

Does applet have access to client’s file system

A

No

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is JRE

A

Java run time environment

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is appletviewer

A

This is an application from sun to view applet without using browser.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What are classes for applet

A

Applet or JApplet

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is applet tag of HTML

A

Java applet that draws animated bubbles.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is the command to run appletviewer

A

appletviewer test.html

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What are applet methods

A
public void init()
public void start()
public void stop()
public void destroy()
public void paint(Graphics)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

When start method of applet called

A

start is called whenever applet is maximized

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

When stop method of applet called

A

stop is called whenever applet is minimized

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

what paint method of applet called

A

for repaint

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is random method

A

Math.random()

How well did you know this?
1
Not at all
2
3
4
5
Perfectly