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 59235

Differentiate Vector and ArrayList?

Wipro, Max Telecom,

6 8658

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

Wipro,

7 9209




What is an abstract class?

Wipro, DBS,

7 8058

How can final class be used?

Wipro, Accenture,

5 9983

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

Wipro,

1 11156

Java support what type of parameter passing ?

Wipro,

7 12564

Explain the term serialization?

Wipro,

10 10413

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

Wipro, Infosys,

10 11763

What is Overriding and how can it be used?

Consagous, Wipro,

7 14109

How is serialization used generally ?

3 4944

How are Swing and AWT be differentiated?

Wipro,

3 6212

Explain pass by reference and pass by value?

IBM, Wipro,

8 12634

In which way does a Primitive data type is passed ?

Sun Microsystems,

5 8295

What happens when a main method is declared as private?

L&T, DELL, Infosys, Sun Microsystems,

22 38666







Un-Answered Questions { Java J2EE }

What is called servlet container?

11


How will you reverse a link list without using recursion?

21


What are the three best choices for a development environment?

17


explain the concept of virtual method invocation in polymorphism in detail?

1182


What will happen when using pass by reference in java?

16






explain what is node, node agent and node groups?

9


How can you run a servlet program?

15


What is declaration?

14


Explain the OOPS concept in Realtime Scenarion ? Take example as CAR. Please explain indetail ?

1855


Which method is called when reference variable is passed in system.net?

1265


can we stop the execution of a method before completion?

1917


Does java support function overloading, pointers, structures, unions or linked lists?

16


How many rowset are available in jdbc?

11


I want to persist data of objects for later use. What’s the best approach to do so?

5


What is the Basic Components of Weblogic Server ?

18