Java Related 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 59495

Differentiate Vector and ArrayList?

Wipro, Max Telecom,

6 8730

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

Wipro,

7 9321




What is an abstract class?

Wipro, DBS,

7 8155

How can final class be used?

Wipro, Accenture,

5 10063

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

Wipro,

1 11214

Java support what type of parameter passing ?

Wipro,

7 12643

Explain the term serialization?

Wipro,

10 10491

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

Wipro, Infosys,

10 11878

What is Overriding and how can it be used?

Consagous, Wipro,

7 14206

How is serialization used generally ?

3 5004

How are Swing and AWT be differentiated?

Wipro,

3 6249

Explain pass by reference and pass by value?

IBM, Wipro,

8 12711

In which way does a Primitive data type is passed ?

Sun Microsystems,

5 8359

What happens when a main method is declared as private?

L&T, DELL, Infosys, Sun Microsystems,

22 38991







Un-Answered Questions { Java Related }

What are the types of dependency injection spring supports?

3


What is JMS administered object?

21


What is the websphere application server console and what is its role? What is the default url and port for accessing it?

3


What is an enumeration?

12


What is the difference between static method and instance method in Java?

33






What happens if we don’t define serial version uid?

3


How do I set up my classpath? : BEA Weblogic

7


How can we enable promotion engine logs?

6


What do you know about validation plugin ?

3


How is declarative handling of exceptions done in struts ?

8


What are some of the important features and benefits of the spring framework?

4


Enlist the CallBack methods of Session Bean?

31


Tell us something about set interface.

10


can we call a task command by specifying action mapping in struts?

3


How do you check if a string contains only numeric digits?

6