Question: HELP!! A marker annotation is: One that does not take multiple arguments. One that does not take any arguments. One that does take only two

HELP!!

A marker annotation is:

One that does not take multiple arguments.

One that does not take any arguments. One that does take only two arguments

One that does take any number of arguments

An annotation can be applied only to methods..

True or false?

@Override

public String toString()

{

Return String.format(%s: %s %s %s: %s %s: %.2f %s: %.2f, commission employee,

firstName, lastName, social security number, socialSecurityNumber, gross sales, grossSales, commission rate, commissionRate);

} //end method toString

@Override annotation is used to indicate that method toString should override a subclass method.

@Override annotation is used to indicate that method toString should overload a subclass method.

@Override annotation is used to indicate that method toString should overload a superclass method

@Override annotation is used to indicate that method toString should override a superclass method.

What method is called when an applet first begins running?

initialize()

start()

init()

main()

What method is called when an applet is removed from the system?

remove()

destruct()

delete()

destroy()

Which method is invoked for an applet each time a browsers user leaves an HTML page on which the applet resides?

Complete

End

Stop

Destroy

Every applet should extend class:

Applet

JApplet

Applet and JApplet

Applet or JApplet

Which of the followings can be used to execute a Java applet?

appletviewer or a browser

appletviewer or a compiler

a browser or a compiler

any of the above

What method is invoked to draw on an applet:

Init

Paint

Start

The HTML tags that we use to specify that an applet should be loaded into an applet container and executed.

,

,

,

,

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!