You are on page 1of 18

sir, here i list out some Questions i faced in My Interview.

1) What are the oops concepts and explain them?

2) They can given some programs on Overloading concepts with Exceptions?

3) Difference between Interface and Abstract Class?

4) Which version of java we are using? and what are the features in 1.5 version and explain
them?

5) what is Cloning? why we are using Cloning concept? and How many types
cloning?

6) What is Exception? Difference between Exception and Error?

7) How many types of Exceptions and explain and given some examples?

8) How we will handle Exceptions?

9) How to write Customized Exceptions?

10) They are given some programs on Try, Catch and Finally?

11) Explain about Thread life cycle?

12) What is Difference between Sleep and Wait methods?

13) What is the Difference between Notify and NotifyAll methods?

of

14) What is Yield method?

15) What is Synchronization?

16) can you draw the Collection Hierarchy?

17) What is Difference between list and Set?

18) What is Difference between ArrayList and Vector?

19) How we can sort the elements in HashSet?

20) What is Difference between Comparable and Comparator?

21) What is Difference between Hashmap and HashTable?

22) How we can Synchronize List and set?

23) When we use Enumeration, Iterator and ListIterator?

24) What is the difference String and StringBuffer and StringBuilder?

25) what are the methods are available in Object Class?

After these they come to the Advanced Java(Jdbc, Servlets, jsp)

1) How many Drivers are there in Jdbc? Which Driver we are using in your project?

2) Can you write the code for Connecting the database?

3) What is Connection pooling mechanism? How we can implement?

4) Difference between Statement and PreparedStatement?

5) What is Callable Statement?

6) What is Servlet Life Cycle?

7) If iam sending the request at in servlet life cycle which method will be called?

8) What is the difference between Forward and include Mechanisms?

9) What is the difference between Forward and SendRedirect Mechanisms?

10) What is the difference between Servlet Config and servlet Context?

11) What are the Implicit objects in jsp?

12) How we can Handle the Exceptions in Jsp?

13) What are the scopes in jsp?

While coming to Struts

1) Explain Struts Flow?

2) What is I18N?

3) What are the Actions are available in Struts?

4) What is the difference between DispatchAction and LookupDispatchAction?

5) What is Switchaction?

6) What is MVC?

7) Struts follows which MVC Architecture?

8) What is FrontContoller?

9) What is Singleton Design Pattern? can you write some code about this?

10) What is DAO and Explain?

11) Which Tags are there in Struts-config.xml file?

12) Difference between Struts1.2 and Struts2.0?

13) How you provide the validations?

While Coming to PROJECT MANAGER ROUND

1) Explain about your project?

2) How many Modules are there in your project?

3) What's your Role and Responsibilities?

4) How big is your Team Size?

5) Tell me Some Exceptions you faced in your project?

6) Which type of Complexity code you written in your project

7) Which Version Controller you used?

8) Which type of validations you done in your Project?

Etc.
1. Explain features of Java?

2. Explain about polymorphism?

3. What is the purpose of ArrayList?

4. Explain about Hibernate Session Factory?

5. Explain about inheritance and polymorphism in hibernate?

6. Explain about Hibernate Architecture?

7. What is mutable and immutable?

8. What are performance issues you have to faced in your project?

1. Explain about Hibernate SessionFactory ?

2. Explain about inheritance & polymorphism in hibernate?

3. Explain about Hibernate Architecture ?

4. Explain about Hibernate mappings ?

5. What is meant by component mapping?

6. What are the problems you faced while using hibernate in your project?

7. Explain about Lazy Loading?

8. Explain differences between get() and load()?

9. What is difference between First level cache and Second level cache?

10. What is the difference Session and SessionFactory?

11. How can we connect more than one database in hibernate applications?

12. Difference between Dialect and Driver?

13. Is it possible to write hibernate application without using hibernate mapping file?

14. Is it possible to write hibernate application without using hibernate configuration

15. Explain about Persistance class life cycle states in hibernate?

file ?

16. Explain about hibernate tools?

17. what is hibernate?

18. What is disadvantage using hibernate?

19. What is ORM?


1)What is Spring?

2)What the difference b/w Spring and Ejb?

3)What are advantage using Spring?

4)How many ways we are implementing Threads? which ways is better?

5)What is difference between Jsp and Servlet?

6)Is the servlet Thread singleton? explain the reason?

7)Can you write multi Threading program?

8)What are packages avilable in spring?

Project Manager round:

1)How to provide security in your Project?and as well as your module


also?

2)What are version using in your project?

3)How to handle Exceptions in your project?

4)What is diamond problem in java

5)What are exception we get doing hibernate in your project?

6)Why we are going to hibernate?

1. What is the difference between abstract class and interface?

2. Explain about OOPs?

3. Differnce between Hashtable VS HashMap?

4. How will you provide thread safety in ArrayList?

5. Explain about Object class? what are the methods it can have? tell
me about tostring()?

6. what are the types of the exceptions?

7. what is immediate super class of RuntimException?

8. can you write one predefined exception code in real time manner?

9. put vs get?

10. Vector vs Array list?

11. what are concepts in 1.5 java?

12. can you write one multi threading programme?

JDBC questions:

1. write DataSource code?

2. what are drivers available? which driver you use in your project?

Servlets question

1. Explain about servlet life cycle?

2. Explain about init() method?

3. if we call destroy() from service() what will happen?

4. Differentiate include file Vs include page?

5. Session management techniques?

Spring questions:

1)What is IOC?

2)What is Method injection?

3)What are interfaces available in spring?

4)What is meant by spring?

EJB questions:

1)what are ejb sessions in ejb?

2)who do you know your ejb application can have stateful or stateless?

3)what is jndi?

4)what is ejb?

Hibernate questions:

1)Hibernate Assction mappings tell me ? can you give real time


examples?

2)what is meant by component mapping?2)what is meant by


component mapping?

3)what is meant by inheritance mapping in hibernate?

4)what are the problems you get doing hibernate projects?

Struts questions:

1)what are actions in struts?

2)what is include action?

3)how to declare exceptions in struts?

Project Manager questions:

1)Can you draw your project architecture?

2)What are issues you got in your projects?


1. Is it possible to override service() method in Servlet?

2. Can we override execute() method in Struts?

3. Explain about Hibernate mappings?

4. How can you increase connection pool-size in web logic?

5. Explain differences between yield() and join() methods ?

1. What is the Hibernate? What are files we have requires doing a hibernate

application?

2. Explain about Hibernate Architecture?

3. Explain your project flow? What technologies used in your previous project?

4. Explain about Spring Framework features?

5. How do you configure using spring mvc with DAO class?

6. What is Abstraction, inheritance polymorphism?

7. What are Checked vs Unchecked Exceptions?

8. What is AutoBoxing and AutoUnboxing ? Can you Explain with real time example?

9. Explain differences between Abstract class vs interface?

10. Explain differences between HashMap and Hashtable?

11. try{ some code }

catch(Exception e) { some code }

finally{ some code }

which one is optional?

12. try{ some code; system.exit(0); }

Catch(Exception e){ Some code }

finally{ some code }

what will happen?

13. What is the difference b/w extends Thread class and implements Runnable

interface?

14. Explain about Servlet life cycle ?

15. How to include one jsp into anther jsp? Which tag we can use for this purpose ?

16. Explain about Struts?

17. Explain Singleton Design pattern?

18. How to connect more than one database in Hibernate?

19. I want change my database from Oracle to MySQL in hibernate. Which


changes are required and which classes we have to use?

configuration

20. Which tools you used in project?

21. What are version control tools used in your project? Explain about check-in and
out?

22. What is your team size?

23. How to build modules in your project? Are you used any tool for this?

24. What is Sax parser and Dom parser?


1. A Thread object has a method called notify(). (true/false)

2. Which kind of ActionForm doesn't need to implement setter and getter methods by
developer?

check-

3. In Struts, which of the following best maps to the "front controller"?

4. One question on Hash Map

5. One question on Hash Set

6. Around 3-4 questions on programs of core java which are very easy.

7. one question on the directory structure of jar file.


1.What are the oops concepts and explain them?

2.What is mean by Polymorphism and what is the difference between static and
polymorphism?

dynamic

3.They he asked about the overriding and method hiding?

4.What is mean by singleton class and can u write a program?

5.Difference between Interface and Abstract Class and where did u used interface in
project?

6.Which version of java we are using in your project? and what are the features in 1.5
version?

7.What is Exception? Difference between Exception and Error?

8.What is mean by checked and unchecked Exceptions?

9.He asked me about Try, Catch and Finally and he asked different control flow of
try..catch,try..catchfinally type questions?

your

10.Difference between final,finally,finalize?

11.Explain about Thread life cycle?

12.What is the Difference between Notify and NotifyAll methods?

13.What is Synchronization?

14.What is mean by collection frame work and explain the complete hierarchy?

15.What is difference between Array List and Vector?

16.In ur project where did u used the Array List?

17.Differnce between Comparator and comparable?

18.Difference between Hash Map and Hashtable?

19.Can u explain about the Stack?

20.Can u tell me something about the collections?

21.Tell me something about Enumeration, Iterator and list Iterator?

22.What is the difference String and StringBuffer and StringBuilder?

23.What is mean by immutability?

After these he come to the J2EE

1) Can you write the code for Connecting the database using JDBC?

2) What is Connection pooling mechanism? How we can implement?

3) Difference between Statement and PreparedStatement?

4) What is Callable Statement and can u write program for that?

5) What is Servlet Life Cycle?

6) What is the difference between Forward and include Mechanisms?

7) What is the difference between Forward and SendRedirect Mechanisms?

8) What is the difference between Servlet Config and servlet Context?

9) What are the Implicit objects in jsp?

10) How we can Handle the Exceptions in Jsp?

11) What are the scopes in jsp ?

While coming to Struts

1) Explain Struts Flow?

2) What are the features of struts 1.3.x version?

3) What are the Actions are available in Struts?

4) What is the difference between DispatchAction and LookupDispatchAction?

5) What is Switchaction and where did used in your project?

6) What are the parameters used in the ActionForward execute()?

7) What is Singleton Design Pattern? can you write some code about this?

8) Which Tags are there in Struts-config.xml file?

9) Can explain about the validations and in your project where did u used the

While Coming to PROJECT MANAGER ROUND

1) Explain about your project?

2) How many Modules are there in your project?

3) What's your Role and Responsibilities?

4) How big is your Team Size?

5) Tell me Some Exceptions you faced in your project?

6) Which type of Complexity code you written in your project

validations?

7) Which type of validations you done in your Project?

8) Have you helped your team member in your project?

9) If anything dispute arises between your college and you then how will u handle

10) If anything dispute arises in your work and personal work then how will u handle

While Coming to Hr Round

1.Can u tell about yourself and your experience?

2.What is the package you are excepted?

3.Whats your strength and weakness?

4.When will u join the company?

that?

it?

You might also like