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, TCS,

32 59753

Differentiate Vector and ArrayList?

Wipro, Max Telecom,

6 8828

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

Wipro,

7 9409




What is an abstract class?

Wipro, DBS,

7 8235

How can final class be used?

Wipro, Accenture,

5 10132

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

Wipro,

1 11281

Java support what type of parameter passing ?

Wipro,

7 12707

Explain the term serialization?

Wipro,

10 10567

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

Wipro, Infosys,

10 11994

What is Overriding and how can it be used?

Consagous, Wipro,

7 14278

How is serialization used generally ?

3 5050

How are Swing and AWT be differentiated?

Wipro,

3 6276

Explain pass by reference and pass by value?

IBM, Wipro,

8 12777

In which way does a Primitive data type is passed ?

Sun Microsystems,

5 8425

What happens when a main method is declared as private?

L&T, DELL, Infosys, Sun Microsystems,

22 39228







Un-Answered Questions { Java J2EE }

What are the differences between getting and load method?

11


Explain how Application server handles the JMS Connection?

30


Explain tree set and its features?

14


What is life cycle of Servlet?

37


Can we have multiple public classes in a java source file?

32






How is declarative handling of exceptions done in struts ?

10


Detail about the architecture of the web sphere?

9


What do you mean by a filter and how does it work?

12


String and stringbuffer both represent string objects. Can we compare string and stringbuffer in java?

23


Define EAR, WAR and JAR ?

26


Some application not accessing, so what is the problem? This information which log file contains?

19


What is introduction?

4


How do I write Greek ( or other non-ASCII/8859-1 ) characters to a database?

29


What is ORM?

1


What is Java Persistence API (JPA)?

1