26.  Which Invoked immediately after the start() method, and also any time the applet needs to repaint itself in the browser ?


stop()
init()
paint()
destroy()


Answer

 Option

No answer description available for this question.

Workspace

Report
Mail id: Report Error:

Answer Workspace Report

27.  when an applet is terminated the following sequence of methods calls takes place ?


stop(),paint(),destroy()
destroy(),stop(),paint()
destroy(),stop()
stop(),destroy()


Answer

 Option

No answer description available for this question.

Workspace

Report
Mail id: Report Error:

Answer Workspace Report

28.  Which of these modifiers can be used for a variable so that it can be accessed from any thread or parts of a program ?


transient
volatile
global
No modifier is needed


Answer

 Option

The volatile modifier tells the compiler that the variable modified by volatile can be changed unexpectedly by other part of the program. Specially used in situations involving multithreading.

Workspace

Report
Mail id: Report Error:

Answer Workspace Report

29.  The Syntax of drawstring() method is ___________


void drawstring(String s)
void drawstring(String s, int x, int y)
void drawstring(int x, int y, string s)
void drawstring(String x, int x)


Answer

 Option

No answer description available for this question.

Workspace

Report
Mail id: Report Error:

Answer Workspace Report

30.  Which Called when an applet begins execution, It is the first method called for any applet ?


void init()
void destroy()
boolean isActive()
None of the above


Answer

 Option

No answer description available for this question.

Workspace

Report
Mail id: Report Error:

Answer Workspace Report