Can we define private and protected modifiers for variables in interfaces?
Respuesta
Yes
No
Pregunta 3
Pregunta
What is Externalizable?
Respuesta
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)
Pregunta 4
Pregunta
What modifiers are allowed for methods in an Interface?
Respuesta
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.
Pregunta 5
Pregunta
What are the JSP tag?
Respuesta
Directives
Declarations
Scriplets
Expressions
Directives
Declarations
Scriplets
Expressions
Pregunta 6
Pregunta
What are JSP Directives?
Respuesta
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” %>
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)
Pregunta 8
Pregunta
What are the components of the J2EE application?
Respuesta
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
ActionServlet, RequestProcessor and Action classes are the components of Controller?
Respuesta
Yes
No
Pregunta 12
Pregunta
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
Respuesta
True
False
Pregunta 13
Pregunta
Is Singleton default scope in Spring?
Respuesta
True
False
Pregunta 14
Pregunta
How many types of memory areas are allocated by JVM?
Respuesta
3
5
4
7
Pregunta 15
Pregunta
Can we execute a program without main() method? And Can we overload main() method?