Java Programming and Technical undefined

Q. How do you set security in applets?

A. using setSecurityManager() method

Read Solution (Total 0)

Java Other Question

Q. What is the lifecycle of an applet?

A.
init() method - Can be called when an applet is first loaded
start() method - Can be called each time an applet is started.
paint() method - Can be called when the applet is minimized or maximized.
stop() method - Can be used when the browser moves off the applet’s page.
destroy() method - Can be called when the browser is finished with the applet.
Q. What is JDBC?

A. JDBC is a set of Java API for executing SQL statements. This API consists of a set of classes and interfaces to enable programs to write pure Java Database applications.