Java J2EE Interview Questions
Questions Answers Views Company eMail

What is garbage collection in Java, and how can it be used ?

Infosys, HCL, Accenture, Wipro, Sara, SITS,

32 50718

Differentiate Vector and ArrayList?

Wipro, Max Telecom,

6 5670

Differentiate constructor and a method and how are it be used?


6 6198

What is an abstract class?


7 5163

How can final class be used?

Wipro, Accenture,

4 7004

By what default value is an object reference declared as an instance variable?


1 8178

Java support what type of parameter passing ?


7 9483

Explain the term serialization?


10 7579

Is there is any error if you have multiple main methods in the same class?


10 8824

What is Overriding and how can it be used?

Consagous, Wipro,

7 11715

How is serialization used generally ?

3 3122

How are Swing and AWT be differentiated?


3 4906

Explain pass by reference and pass by value?

IBM, Wipro,

8 9545

In which way does a Primitive data type is passed ?

Sun Microsystems,

5 5990

What happens when a main method is declared as private?

L&T, DELL, Infosys, Sun Microsystems,

20 27441

Un-Answered Questions { Java J2EE }

What are the common JDBC problems that you got and how do you solved them?


Which of the following is not an isolation level in the JDBC


Q1.A. Write note on “The class path Environment Variable”? B. Which are different kinds of source code? Q2.A. How to create an interface? B. Why convert an applet to an application? Q3.A. How to use Media tracker Class. B. How to use string tokenizer class. Q4 A. Explain the overview of UDP messaging. B. Difference between SQL Exception class and SQL Warning class. Q5. A. How to create com object in Java? B. Write short notes on “The properties class” Q6. A. When object is created and destroyed? B. Explain the JDB in depth & command line. C. Write short notes on Web Sites.


What are the steps to write p-to-p model application?


Highest level event class of the event-delegation model?


v-model life cycle


How to pass parameters in RMI?


Explain the architectural relationship between JavaBeans and JTA?


Is it possible to create both queues and topics to single jms server? if yes then how it works?


Define the remote object implementation?


how to run servlet program between two computer through internet ?


can u draw class/object diagram for ATM


who will give req's to u?. how they send req's to u? . what design documents contains?. when bugs raised on other developer code how to report to them?.(throgh mail or ........). how to retrive 100 recods from dao layer to presentation layer.using which collection?. what is sequence diagram.?.


Why use POJO when I can use hashmap


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