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 62093

Differentiate Vector and ArrayList?

Max Telecom, Wipro,

6 9543

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

Wipro,

7 10189

What is an abstract class?

DBS, Wipro,

7 9007

How can final class be used?

Accenture, Wipro,

5 10920

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

Wipro,

1 11827

Java support what type of parameter passing ?

Wipro,

7 13452

Explain the term serialization?

Wipro,

10 11400

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

Infosys, Wipro,

10 12982

What is Overriding and how can it be used?

Consagous, Wipro,

7 15070

How is serialization used generally ?

3 5574

How are Swing and AWT be differentiated?

Wipro,

3 6672

Explain pass by reference and pass by value?

IBM, Wipro,

8 13619

In which way does a Primitive data type is passed ?

Sun Microsystems,

5 9015

What happens when a main method is declared as private?

DELL, Infosys, L&T, Sun Microsystems,

22 41465







Un-Answered Questions { Java J2EE }

What is the requirement of servlet config and servlet context implemented and how are they implemented?

104


What is the jms client?

91


What is session bean?

89


Explain scope or life time of local variables in java?

109


Is spring boot a microservices? : Spring Boot

7






What is difference between array and vector?

72


What about main thread in java?

114


Is java map thread safe?

60


Explain Reliability Mechanisms in JMS?

633


How is a typical spring implementation look like?

9


Explain the role of dispatcherservlet and contextloaderlistener.

81


What are the benefits of java?

88


Is Constructor possible in abstract class in java ?

142


What do you meant by active and passive objects?

133


What are the components of swing in java?

63