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 76109

Differentiate Vector and ArrayList?

Max Telecom, Wipro,

6 14204

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

Wipro,

7 15015

What is an abstract class?

DBS, Wipro,

8 13628

How can final class be used?

Accenture, Wipro,

5 14018

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

Wipro,

1 13611

Java support what type of parameter passing ?

Wipro,

7 17756

Explain the term serialization?

Wipro,

10 16352

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

Infosys, Wipro,

10 18197

What is Overriding and how can it be used?

Consagous, Wipro,

7 19011

How is serialization used generally ?

3 8097

How are Swing and AWT be differentiated?

Wipro,

3 8842

Explain pass by reference and pass by value?

IBM, Wipro,

8 18047

In which way does a Primitive data type is passed ?

Sun Microsystems,

5 12126

What happens when a main method is declared as private?

DELL, Infosys, L&T, Sun Microsystems,

22 55966


Un-Answered Questions { Java J2EE }

What is externalizable?

687


Why do we need jdbc api?

557


What is the purpose of @autowired in spring?

209


Difference between throw and throws?

718


How to create entity class in hibernate?

198






What are the access modifiers in java?

662


Is void a type?

653


What do you know about seam?

672


What is prime number in java?

622


What is stateless authentication?

598


Explain the main difference between entity beans and hibernate.

268


Define declaration.

689


What is method in java with example?

573


What types of index data structures can you have in java?

716


What is annotation wiring and how do we turn it on?

192