Interview questions
JAVA interview questions – page 28
2,804 questions. Tap “Show answer” to check yourself.
-
What are the uses of Servlets?
-
What is meant by Tomcat in java and its usage?
-
How many ServletConfig and servlet context objects are present in one application?
-
Why we can't put semicolon at the end of a class in java?
-
What is the servlet?
-
Doesn't the compiler always make a no-arg constructor for you?
-
Can we write bussiness methods in servlets? if yes, then how can u access that from out side of the servlets?
-
Difference between HashMap and TreeMap
-
How can you do ErrorMapping in Action class?
-
Is stateless Sessiob bean create() method contains any parameters
-
What is it reflection (introspection) ? Why is reflection possible in the Java language?
-
Can I develop an Entity Bean without implementing the create() method in the home interface
-
Does Java has pointer?
-
Explain StringBuffers and StringTokenizers?
-
We have two applications in that we have two servlets each.How they(servlets) communicate with each other ?
-
What is session tracking ?state the uses of GET and POST request to handle Http request ?
-
In servlets, what is the use of sendredirect(),include( ), forward() ?and in applecation level at what scnario they will be used
-
What is EJB architecture(components)
-
How is Stateful Session bean maintain their states with client
-
What is the difference between run-time Polymorphism and compile-time Polymorphism?
-
What is abstract schema
-
Consider a scenario where 2 instances of an appserver are running in a machine. And one application has been deployed in the two servers. Does these two applications deployed in two servers use the same JVM or different?
-
Why is that we deploy servlets in a webserver.What exactly is a webserver?
-
Suppose in web.xml file we are given 30 and in the servlet program we are given setSessionInActiveInterval(40).when that session will be terminated ? After 30 sec or 40 sec?
-
How does >> operater works ?
-
How to know whether we have to use jsp or servlet in our project?
-
IS String is a wrapperclass? explain wrapper class
-
Why operator overloading is not allowed in Java?
-
How we can find the total number of processors available in system?
-
What is list interface?