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?

Wipro,

6 6198




What is an abstract class?

Wipro,

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?

Wipro,

1 8178

Java support what type of parameter passing ?

Wipro,

7 9483

Explain the term serialization?

Wipro,

10 7579

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

Wipro,

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?

Wipro,

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?

1021


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

661


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.

5091


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

1053


Highest level event class of the event-delegation model?

1272


v-model life cycle

602


How to pass parameters in RMI?

783


Explain the architectural relationship between JavaBeans and JTA?

1526


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

993


Define the remote object implementation?

979


how to run servlet program between two computer through internet ?

1527


can u draw class/object diagram for ATM

4500


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.?.

781


Why use POJO when I can use hashmap

1124


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

4049