Interview questions
JAVA interview questions – page 23
2,804 questions. Tap “Show answer” to check yourself.
-
Does import make my class bigger? Does it actually compile the imported class or package into my code?
-
What is Clonnable Interface in java? IS it implemented by the ProtoType Design Pattern?
-
How to Access Session Variables in Servlets & JSp
-
What are the various transaction attributes and differences between them
-
What is Message Driven Bean
-
How to make jdbc connection a protable without specific drivers
-
What is the difference b/w sendRedirect() and <jsp: forward>?
-
What happens if you try to run an executable JAR, and the end-user doesn't have java installed?
-
Can we make construtor STATIC?
-
Which method is more advantageous doGET() or doPOST()? in which situation does we use doGET() then?
-
When can an object reference be cast to an interface reference?
-
Consider a scenario in which 4 users are accessing a servlet instance. Among which one user called destroy() method. What happens to the rest 3 users?
-
What are the types of refrences available in java. How they work
-
Will class level variables are garbage collected?
-
I can do every thing using jsp itself,then what is the need of using servlet?in which situation ,we must use servlet with jsp?
-
What is the difference between queue and topic
-
Plz give me detail difference between Tomcat & Weblogic server
-
What is callback function?
-
What is difault http method in http servlet?
-
What are the three components of a Message ?
-
What kind of information found in the header of a Message ?
-
How can we invoke private method using refleciotn API(AccessibileObject class)?
-
Can there ever be more than one program running on a single port? In other words, can two applications on the same server have the same port number?
-
What is clustering. What are the different algorithms used for clustering
-
What is difference between sendRedirect() and forward()..? Which one is faster then other and which works on server?
-
What is the difference betweem getRequestDispatcher() available as part of ServletContext and ServletRequest
-
What is the difference between ejbCreate() and ejbPostCreate()
-
How to create a durable subsriber ?
-
Are there any practical limits on the levels of subclassing? How deep can you go?
-
What is the difference between hiding & overriding ?