Advance Java MCQs
1. Servlet are used to program which component in a web application?
A. Client
B. Server
C. Tomcat
D. Applet
B. Server
2. Which component can be used for sending message from one application to another .
A. Server
B. Client
C. Mq
D. Webapp
C. Mq
3. How are java web applications packaged.
A. Jar
B. War
C. Zip
D. Both jar and war
D. Both jar and war
4. How can we connect to database in a web application?
A. Oracle sql developer
B. Toad
C. JDBC template
D. Mysql
C. JDBC template
5. How can we take input text from user in HTML page?
A. Input tag
B. in out Buffered Reader tag
C. meta tag
D. scanner tag
A. Input tag
6. Which of the below is not a javascript framework for UI?
A. Vaadin
B. AngularJS
C. KendoUI
D. Springcore
D. Springcore
7. Which of the below can be used to debug front end of a Web application?
A. Junit
B. Fitnesse
C. Firebug
D. Mockito
C. Firebug
8. What type of protocol is HTTP?
A. Stateless
B. Stateful
C. Transfer protocol
D. Information protocol
A. Stateless
9. What does MIME stand for ?
A. Multipurpose internet Messaging Extension
B. Multipurpose internet Mail Extension
C. Multipurpose Internet Media Extension
D. Multipurpose Internet Mass Extension
B. Multipurpose internet Mail Extension
10. What is the storage capacity of single cookie?
A. 2048mb
B. 2048 bytes
C. 4095 bytes
D. 4095 mb
C. 4095 bytes