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 74659

Differentiate Vector and ArrayList?

Max Telecom, Wipro,

6 13620

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

Wipro,

7 14442

What is an abstract class?

DBS, Wipro,

7 12866

How can final class be used?

Accenture, Wipro,

5 13672

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

Wipro,

1 13410

Java support what type of parameter passing ?

Wipro,

7 17215

Explain the term serialization?

Wipro,

10 15727

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

Infosys, Wipro,

10 17625

What is Overriding and how can it be used?

Consagous, Wipro,

7 18498

How is serialization used generally ?

3 7774

How are Swing and AWT be differentiated?

Wipro,

3 8573

Explain pass by reference and pass by value?

IBM, Wipro,

8 17542

In which way does a Primitive data type is passed ?

Sun Microsystems,

5 11752

What happens when a main method is declared as private?

DELL, Infosys, L&T, Sun Microsystems,

22 54524


Un-Answered Questions { Java J2EE }

What are the types of messages that are supported by JMS?

466


What are important spring projects?

150


Is java 1.7 the same as java 7?

534


What is difference between final and finally in java?

580


Can we call the constructor of a class more than once for an object?

625






What is @controller annotation in spring mvc?

162


Is jwt an oauth?

161


Is a string literal?

521


What about anonymous inner classes in java?

559


What is difference between struts1 and struts2?

497


Explain the concept of dependency injection.

204


What is illegal identifier in java?

529


What are spring filters?

158


Name the types of jdbc drivers.

546


What is polymorphism and what are the types of it?

496