Servion - Java Questionnaire

Beschreibung

Servion test phase 1
rohit.benedict
Quiz von rohit.benedict, aktualisiert more than 1 year ago
rohit.benedict
Erstellt von rohit.benedict vor fast 9 Jahre
1730
1

Zusammenfassung der Ressource

Frage 1

Frage
Can an Interface have an inner class?
Antworten
  • Yes
  • No

Frage 2

Frage
Can we define private and protected modifiers for variables in interfaces?
Antworten
  • Yes
  • No

Frage 3

Frage
What is Externalizable?
Antworten
  • Externalizable 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)
  • Externalizable is an Interface that extends Serializable Interface. And sends data into Streams in Compressed Format. It has One methods, writeExternal(ObjectOuput out).
  • Externalizable is an Interface that extends Serializable Interface. And sends data into Streams in Compressed Format. It has One methods readExternal(ObjectInput in)

Frage 4

Frage
What modifiers are allowed for methods in an Interface?
Antworten
  • Only abstract modifiers are allowed for methods in interfaces.
  • Only public and abstract modifiers are allowed for methods in interfaces.
  • Only public modifiers are allowed for methods in interfaces.

Frage 5

Frage
What are the JSP tag?
Antworten
  • Directives Declarations
  • Scriplets Expressions
  • Directives Declarations Scriplets Expressions

Frage 6

Frage
What are JSP Directives?
Antworten
  • page Directives <%@page language=”java” %> include Directives: <%@ include file=”/header.jsp” %>
  • taglib Directives <%@ taglib uri=”tlds/taglib.tld” prefix=”html” %> include Directives: <%@ include file=”/header.jsp” %>
  • page Directives <%@page language=”java” %> taglib Directives <%@ taglib uri=”tlds/taglib.tld” prefix=”html” %>
  • 1. page Directives <%@page language=”java” %> 2. include Directives: <%@ include file=”/header.jsp” %> 3. taglib Directives <%@ taglib uri=”tlds/taglib.tld” prefix=”html” %>

Frage 7

Frage
What are the phases of the servlet life cycle?
Antworten
  • The 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)
  • The life cycle of a servlet consists of the following phases: Servlet class loading Servlet instantiation Removal from service (call the destroy method)
  • The 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)

Frage 8

Frage
What are the components of the J2EE application?
Antworten
  • Client Components (application clients and applets) Web Components (JavaServer Pages and Java Servlets) Business Components (Enterprise JavaBeans) Resource Adapter Components
  • Web Components (JavaServer Pages and Java Servlets) Business Components (Enterprise JavaBeans) Resource Adapter Components
  • Client Components (application clients and applets) Web Components (JavaServer Pages and Java Servlets) Business Components (Enterprise JavaBeans)
  • Client Components (application clients and applets) Web Components (JavaServer Pages and Java Servlets) Resource Adapter Components

Frage 9

Frage
Servlet is pure java object or not?
Antworten
  • Yes
  • No

Frage 10

Frage
What are the benefits of ORM?
Antworten
  • Productivity Maintainability Performance Vendor independence
  • Maintainability Performance Vendor independence
  • Productivity Maintainability Performance

Frage 11

Frage
ActionServlet, RequestProcessor and Action classes are the components of Controller?
Antworten
  • Yes
  • No

Frage 12

Frage
There are seven core modules in spring: The Core container module O/R mapping module (Object/Relational) DAO module Application context module Aspect Oriented Programming Web module MVC module
Antworten
  • True
  • False

Frage 13

Frage
Is Singleton default scope in Spring?
Antworten
  • True
  • False

Frage 14

Frage
How many types of memory areas are allocated by JVM?
Antworten
  • 3
  • 5
  • 4
  • 7

Frage 15

Frage
Can we execute a program without main() method? And Can we overload main() method?
Antworten
  • Yes
  • No
  • MayBe
Zusammenfassung anzeigen Zusammenfassung ausblenden

ähnlicher Inhalt

How well do you know GoConqr?
Sarah Egan
Java Week 5 Object Oriented Programming
Troy Bowlin
Java Practice 1
Ummm No
Ancient Roman Quiz
Rev32
General Knowledge Quiz
Andrea Leyden
Revision Timetable
katy.lay
OCR Gateway GCSE P3 Revision Quiz
xhallyx
The Engineered World - Unit 1
Yachtmasterhammond
How to revise
KimberleyC
Religious Studies Key Concepts
Keera
Core Spring 4.2 Certification Mock Exam
antoine.rey