You are on page 1of 2

ADVANCE JAVA PROGRAMMING

1. The__________ interface defines 7. _________ class is used to put radio


the possible interaction between button.
the user applications and driver (a) J Radio button
unaragee
(b) J Button group
(a) LAYER
(c) J Radio
(B) JDBC
(d) Button Group
(C) Data base
(d) None of the above 8. Servlet is a ________ programs.
(a) Serverside
2. JDBC is designed on ________ level
interface model (b) Clentside
(a) Driver (c) Client/server.
(b) Connection (d) None of the above
(c) Call
9. Servlet life cycle has —————
(d) None of the above
,______ methods.
3. _________ gives information like (a) Init, destroy
type and properties of the (b) Paint, destroy
colouning in a result set (c) Paint, init
(a) Callable statement (d) None of the above
(b) Driver mangers
(c) Result set metadata 10. Service method can handle ______
(d) None of the above type of request.
(a) GET
4. Servlet API are written in (b) POST
language.
(b) GET/POST (both)
(a) C
(c) None of the above
(b) C + +
(c) VC + + 11. _________ method is secure to
(d) None of the above transfer data through servers side
programme.
5. ___________ packages have swing
(a) GET
component.
(b) POST
(a) Java x. jtc
(b) java. Swing (c) GET/POST both
(c) java.com.swing (d) None of the above
(d) java x. swing 12. Servlet uses___________ to store
6. ______, _______ are swing component. information on client machine.
(a) J table, J treee (a) Http session
(b) B button, J list (b) Re-written URL
(c) J pane, J Lable (c) None of the above
(d) J lable, J tree (d) Cookies

(1)
13. JSP is used to create _________server 19. A _________can be defined as a mini
side applications. server-side program that can be
(a) Dynamic loaded and executed by a Web
(b) Static server.
(c) Complex (a) Servlet
(d) Big (b) Java script
(c) RMI
14. Include directive is used to include
(d) JDBC
______ page.
(a) Dynamic 20. You require a ___________ to load,
(b) Static interpret and execute a java
(c) Complex program on any system.
(d) Big (a) JVM
(b) JAVAC
15. In IP v4, v4 identifies that address
will be of ________ (c) JIT
(a) 4 byte (d) applitviews
(b) 6byte 21. Java provides in-built support for
(c) 4 byte network programming through
(d) 8 byte classes defined in the ____________
package.
16. ____ method listen for a connection
(a) Java x. servlet.http
to be mode for the socket and
accept it. (b) Java. Awt
(a) Get by name (c) Java.net
(b) Get local host (d) Java rmi
(c) Open connection 22. The ________ is a simple naming
(d) None of the above service that binds a character
name to a remote object reference.
17. _______ method is used to receive
Data gram packet. (a) Rmiregistory
(a) Accept (b) Rmic
(b) Get packet (c) Servlet
(c) Receive (d) JDBC
(d) None of the above
23. You need a web server that
18. Data gram socket class supports the ________ API to run
constructor throws ____ Exception. servlets.
(a) Io Exception (a) JSP
(b) Socket Exception (b) Servlet
(c) URL Exception (c) Runtime
(d) None of the above (d) Remote

(2)

You might also like