Java J2EE Interview Questions
Questions Answers Views Company eMail

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

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

32 74522

Differentiate Vector and ArrayList?

Max Telecom, Wipro,

6 13560

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

Wipro,

7 14389

What is an abstract class?

DBS, Wipro,

7 12815

How can final class be used?

Accenture, Wipro,

5 13652

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

Wipro,

1 13400

Java support what type of parameter passing ?

Wipro,

7 17180

Explain the term serialization?

Wipro,

10 15648

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

Infosys, Wipro,

10 17593

What is Overriding and how can it be used?

Consagous, Wipro,

7 18470

How is serialization used generally ?

3 7750

How are Swing and AWT be differentiated?

Wipro,

3 8562

Explain pass by reference and pass by value?

IBM, Wipro,

8 17487

In which way does a Primitive data type is passed ?

Sun Microsystems,

5 11725

What happens when a main method is declared as private?

DELL, Infosys, L&T, Sun Microsystems,

22 54416


Un-Answered Questions { Java J2EE }

What is a nonetype?

557


What is the most important feature of java? What is an interface?

505


Explain the available thread states in a high-level?

522


How do you add an element to a set in java?

491


What is fail first in java?

560






What if static is removed from main method?

564


What is the reflection?

555


Why is spring light weight?

175


What is structure of java heap? What is perm gen space in heap?

533


What is the protected method modifier?

557


Define the lifecycle for executing a jsp page.

584


What is credentials?

501


Why spring cloud is required?

165


What are the types of advice?

171


What is difference between merge and update in hibernate?

174