Top Advance Java MCQ (Multiple Choice Questions)

Advance Java MCQs

 

1. Servlet are used to program which component in a web application?

A. Client
B. Server
C. Tomcat
D. Applet

Show Answer
B. Server

 

2. Which component can be used for sending message from one application to another .

A. Server
B. Client
C. Mq
D. Webapp

Show Answer
C. Mq

 

3. How are java web applications packaged.

A. Jar
B. War
C. Zip
D. Both jar and war

Show Answer
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

Show Answer
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

Show Answer
A. Input tag

 

 

6. Which of the below is not a javascript framework for UI?

A. Vaadin
B. AngularJS
C. KendoUI
D. Springcore

Show Answer
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

Show Answer
C. Firebug

 

8. What type of protocol is HTTP?

A. Stateless
B. Stateful
C. Transfer protocol
D. Information protocol

Show Answer
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

Show Answer
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

Show Answer
C. 4095 bytes

 

Leave a Comment