Java J2EE Interview Questions
Questions Answers Views Company eMail

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

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

32 60351

Differentiate Vector and ArrayList?

Wipro, Max Telecom,

6 9007

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

Wipro,

7 9614




What is an abstract class?

Wipro, DBS,

7 8441

How can final class be used?

Wipro, Accenture,

5 10323

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

Wipro,

1 11441

Java support what type of parameter passing ?

Wipro,

7 12887

Explain the term serialization?

Wipro,

10 10797

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

Wipro, Infosys,

10 12246

What is Overriding and how can it be used?

Consagous, Wipro,

7 14507

How is serialization used generally ?

3 5174

How are Swing and AWT be differentiated?

Wipro,

3 6374

Explain pass by reference and pass by value?

IBM, Wipro,

8 12982

In which way does a Primitive data type is passed ?

Sun Microsystems,

5 8587

What happens when a main method is declared as private?

L&T, DELL, Infosys, Sun Microsystems,

22 39768







Un-Answered Questions { Java J2EE }

What is shared libraries?

25


Will the jvm load the package twice at runtime?

38


Is ejb be called from another ejb? If yes then how?

36


What is a blocking method in Java?

58


How many bits does a boolean take?

17






Is java an open source?

18


What is the use of arraylist class in java?

18


Tell me IHS executable files, means bin directory files?

26


What is layer in communication?

1


What is ioc concept?

28


Explain the private protected method modifier?

37


Is java hard to learn?

19


What do you mean by session tracking and also explain its techniques?

33


How do you secure an api?

1


What are the Unix vi commands?

35