Interview questions
JAVA interview questions – page 30
2,804 questions. Tap “Show answer” to check yourself.
-
Can we override the service method?if we can do that then why do we override only doGET()and doPost() methods if the servlet is of protocol specific?
-
What is the difference between a normal servlet and action servlet?
-
How do you know the port number of the server program you want to talk to?
-
How to check for repeated patterns in a password?
-
I want to know how to encode textbox in servlet so we find complete column information from the database
-
How is rounding performed under integer division?
-
Name the eight primitive Java type.
-
What is the difference between servlets and applets?
-
If i create a object which is to be serialized then do I need to implement any methods?
-
What is the use of voltile specifier
-
Can some one pls tell me the exact difference between mutable and immutable ?
-
Can we have 3 methods in a single servlet i.e service(), doPost() and doGet() method. If yes, then what method will be called. Tell me the servlet cycle in such cases
-
Why main method should be declared as public and why in some versions it is mandatory and in some versions it is not mandatory?
-
What is the use of System.err.println()?, explain clearly what is System.err.println()?, what r the access specifiers available in System class?
-
How Servlet Applet communication achieved?
-
What is the difference between local interface and remote interface
-
What is the lifecycle of Entity Bean
-
I can get the size(length) of any array (let a[]) by a.length. please tell me what is this "length" word actually signifies, where it is defined in java and what is its actual definition ?
-
What is JMS
-
What is the use of JMS? In which situations we are using JMS? Can we send message from one server to another
-
Is it true the JAVA is realy a plateform indepandent?
-
What is the difference between JNDI context, Initial context, session context and ejb context
-
Why CMP beans are abstract classes?
-
What is the difference between strsuts 1.0 and struts 1.1 ?
-
What is components and controllers in Java
-
How can I retrive only IntegerObjects from a vector in which I stored all types of objects
-
What is the difference between throw and throws clause, explain in programatically
-
What is the capacity of Hashtable()?
-
When you have action=get?
-
Is Decorator an EJB design pattern