Wednesday, December 23, 2009

JAVA INTERVIEW QUESTIONS

COMPANY:- ORACLE ( PUNE ) ( 19 Dec 09 )

1.Explain about ur userself
2.What is normalization ? which normalization did us use?
3.what is clonning?how will u implement it ?types of it?
4.what is String , StringBufferr And StingBuilder ? what is diff?
5.Suppose i want to override nay methode of String Class, How I can acheive it ?
6.What is serialization? write a code for it?
7.what is externlization?
8.what is interface ?Abstract class? Where u have used it? with example?
9.What is difference in Struts different version ?1.0,1.1,1.2?
10.Inner class?annonYmus inner class? where u have used it?
11.What is diffrence between java.util.Date and java.sql.Date?
12.How to make class immutable?
13.What is Statement ,PreparedStament and callabelStatement?
14.Where PrepareStatement Queries are compiled JVM ore database?
15.What is annotations?where u have used it?
16.What are differnt DesignPatterns? Which pattern do you Know?Do you ever used them?
17.lifecyle of servlet? can i define constructor in my Servlet?
18.abstaract factory pattern class?
19.what is useBean tag in jsp ?what are the different scope values for it?
20.how many table where there in your project?
21.Did u design project database? which normalization u used?


COMPANY:- Cognizant 28th. Nov


Draw the Complete flow diagram of struts project. what is ActionServlet, RequestProcessor, ActionForm.
How to enable/disable validator framework. what are the configuration files?
Struts does client side or server side validation ? How?. What are struts custom tag libs... what are they used for?
How to apply validator in forms. How to check duplicate request if user clicks the submit button twice
(hint: isValidToken() method)? and how to set a token on the JSP.

What is DAO. How can you make a class singlton. Difference between SessionFacade and BusinessDeligate.
What does ServiceLocator do. Why ValueObjects ?

MessageDrivenBean?

Methods of Object class, Marker interfaces, Serialization, Sorting a Collection, Comparator and Comparable interfaces.

Database joins, Difference between Statement, PreparedStatement and CallableStatement.

What are Jsp directives, implicit objects, RequestDispatcher. Diff between Forward and SendRedirect.
User statement mgmt (cookies, url rewriting, session object, hidden form field).

What are the interfaces in Collection framework (hierarchy). Synchronized method and block. Job Schedular classes in java.


Sugen Software(6 Jan 2010)

1) Tell me about yourself?
2) Describe about ZK?
3) As you told using zk look and feel like desktop application,then tell me diff between swing and zk?
4) Project Description in brief?
5) How many tables in your project?
6) Data base structure and logical implementation of some part of project?
7) What are the OOPs concepts in brief?
8) What is mean by interface?
9) Diff between interface and abstarct class?
10) Tell me diff between final class,method and variable.
11) Diff between shadow and deep cloning object.
12) Rating for the Hibernate out of 5?
13) Why we declare Session factory class as a final?
14) What is mean by procedure,cursor and trigger?How to use it?
15) What is join and types of join?Explain left outer join?
16) Write a prog. for accessing member of class without creating object?
17) What is overloading and overridding with example?