Help shape GoConqr. What should we add next?

Quiz

Servion - Java Questionnaire

rohit.benedict 15 questions 1,789 views 4.5 (2 ratings)

Take the quiz

This quiz has a time limit, so it opens in the usual player.

Questions in this quiz (15)

  1. 1Can an Interface have an inner class?
    1. AYes
    2. BNo
  2. 2Can we define private and protected modifiers for variables in interfaces?
    1. AYes
    2. BNo
  3. 3What is Externalizable?
    1. AExternalizable is an Interface that extends Serializable Interface. And sends data into Streams in Compressed Format. It has two methods, writeExternal(ObjectOuput out) and readExternal(ObjectInput in)
    2. BExternalizable is an Interface that extends Serializable Interface. And sends data into Streams in Compressed Format. It has One methods, writeExternal(ObjectOuput out).
    3. CExternalizable is an Interface that extends Serializable Interface. And sends data into Streams in Compressed Format. It has One methods readExternal(ObjectInput in)
  4. 4What modifiers are allowed for methods in an Interface?
    1. AOnly abstract modifiers are allowed for methods in interfaces.
    2. BOnly public and abstract modifiers are allowed for methods in interfaces.
    3. COnly public modifiers are allowed for methods in interfaces.
  5. 5What are the JSP tag?
    1. ADirectives
      Declarations
    2. BScriplets
      Expressions
    3. CDirectives
      Declarations
      Scriplets
      Expressions
  6. 6What are JSP Directives?
    1. Apage Directives <%@page language=”java” %>
      include Directives: <%@ include file=”/header.jsp” %>
    2. Btaglib Directives <%@ taglib uri=”tlds/taglib.tld” prefix=”html” %>
      include Directives: <%@ include file=”/header.jsp” %>
    3. Cpage Directives <%@page language=”java” %>
      taglib Directives <%@ taglib uri=”tlds/taglib.tld” prefix=”html” %>
    4. D1. page Directives <%@page language=”java” %>
      2. include Directives: <%@ include file=”/header.jsp” %>
      3. taglib Directives <%@ taglib uri=”tlds/taglib.tld” prefix=”html” %>
  7. 7What are the phases of the servlet life cycle?
    1. AThe life cycle of a servlet consists of the following phases:

      Servlet class loading
      Servlet instantiation
      the init method
      Request handling (call the service method)
      Removal from service (call the destroy method)
    2. BThe life cycle of a servlet consists of the following phases:

      Servlet class loading
      Servlet instantiation
      Removal from service (call the destroy method)
    3. CThe life cycle of a servlet consists of the following phases:

      Servlet class loading
      the init method
      Request handling (call the service method)
      Removal from service (call the destroy method)
  8. 8What are the components of the J2EE application?
    1. AClient Components (application clients and applets)
      Web Components (JavaServer Pages and Java Servlets)
      Business Components (Enterprise JavaBeans)
      Resource Adapter Components
    2. BWeb Components (JavaServer Pages and Java Servlets)
      Business Components (Enterprise JavaBeans)
      Resource Adapter Components
    3. CClient Components (application clients and applets)
      Web Components (JavaServer Pages and Java Servlets)
      Business Components (Enterprise JavaBeans)
    4. DClient Components (application clients and applets)
      Web Components (JavaServer Pages and Java Servlets)
      Resource Adapter Components
  9. 9Servlet is pure java object or not?
    1. AYes
    2. BNo
  10. 10What are the benefits of ORM?
    1. AProductivity
      Maintainability
      Performance
      Vendor independence
    2. BMaintainability
      Performance
      Vendor independence
    3. CProductivity
      Maintainability
      Performance

Information

Description
Servion test phase 1
Language
English
Views
1,789
Tags
javatestjavatest
Rating
4.5 out of 5 · 2 ratings
Rate this quiz
Rate this quiz

Feedback

What is it about?

What should we add next?