-
Which packages in the java provide the writing of the Servlet
Skill/Topic: ServletsA) javaxB) javaC) java.ioD) java.lang
-
The Separator, Comma is Used to separate package names from subpackages and classes
A) TrueB) FalseExplanation: Comma Separates consecutive identifiers in a variable declaration while the Period . is Used to separate package names from subpackages and classes
-
_________ is a feature that allows one interface to be used for a general class of actions.
A) EncapsulationB) ClassC) InheritenceD) Polymorphism
-
Java 2 means Second Generation Java
A) TrueB) False
-
Which of the following is not a wrapper class?
A) StringB) IntegerC) BooleanD) Character
-
State true or false :- Can we declare variable inside a method as final variables?
A) TrueB) FalseExplanation: because, local variable cannot be declared as final variables
-
How do you achieve multiple inheritance in Java?
A) Using interfaces.B) Using abstract classesC) Using final classesD) None of the above
-
-
Which of the following types of class members can be part of the internal part of a class? (Select multiple)
A) Public instance variablesB) Private instance variablesC) Public methodsD) Private methods
-
Is it true the JAVA is realy a plateform indepandent?
no, because Java does not support multiple inheritance directly.
-
What is the Servlet Interface?
The central abstraction in the Servlet API is the Servlet interface. All servlets implement this interface, either directly or, more commonly, by extending a class that implements it such as HttpServlet.Servlets-->Generic Servlet-->HttpServlet-->MyServlet.The Servlet interface declares, but does not implement, methods that manage the servlet and its communications with clients. Servlet writers...