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 74161

Differentiate Vector and ArrayList?

Max Telecom, Wipro,

6 13428

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

Wipro,

7 14221

What is an abstract class?

DBS, Wipro,

7 12682

How can final class be used?

Accenture, Wipro,

5 13541

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

Wipro,

1 13342

Java support what type of parameter passing ?

Wipro,

7 17049

Explain the term serialization?

Wipro,

10 15482

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

Infosys, Wipro,

10 17410

What is Overriding and how can it be used?

Consagous, Wipro,

7 18319

How is serialization used generally ?

3 7653

How are Swing and AWT be differentiated?

Wipro,

3 8489

Explain pass by reference and pass by value?

IBM, Wipro,

8 17361

In which way does a Primitive data type is passed ?

Sun Microsystems,

5 11628

What happens when a main method is declared as private?

DELL, Infosys, L&T, Sun Microsystems,

22 54012


Un-Answered Questions { Java J2EE }

What is jdbc odbc connection?

481


How do you generate random numbers in java?

486


What is a thread dump?

549


State an example of struts configuration file as an action parameter for action servlet.

518


How do you make a class immutable in java?

451






What is unidirectional mapping in hibernate?

211


Which are different kinds of source code?

631


What are swings?

492


What is Point-to-Point Approach?

1198


Difference between string, string builder, and string buffer?

503


Can singleton class be serialized?

487


What are spring jdbc templates used for?

152


How do I run java on windows?

501


What means public static?

535


mention the no of characters required for creating names of the mq objects?

452