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,

32 52625

Differentiate Vector and ArrayList?

Wipro, Max Telecom,

6 6302

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


6 6835

What is an abstract class?


7 5723

How can final class be used?

Wipro, Accenture,

5 7567

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


1 8808

Java support what type of parameter passing ?


7 10125

Explain the term serialization?


10 8066

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


10 9388

What is Overriding and how can it be used?

Consagous, Wipro,

7 12168

How is serialization used generally ?

3 3523

How are Swing and AWT be differentiated?


3 5116

Explain pass by reference and pass by value?

IBM, Wipro,

8 10040

In which way does a Primitive data type is passed ?

Sun Microsystems,

5 6407

What happens when a main method is declared as private?

L&T, DELL, Infosys, Sun Microsystems,

20 30099

Un-Answered Questions { Java Related }

What is Remote Server?


Explain Reliability Mechanisms in JMS?


Can explain about the validations and in your project where did u used the validations?


what are the new features of Webservices 1.6 than 1.4.From the interface and implementation aspect4.


why java does not support unsigned keyword?


what are the activation groupworks?


what is a non-repeatable read?


what is mean by hasing and maping in java platform and advantage?


Describe activation process?


Spring framework ---Can somebody explain me in easily understandable format about AOP, IOC and DI, so that i can explain in interview rather than just telling what is available in net. I am not able to understand that also. I am new to Spring


Name the components that are termed to be Heavy-weight component but available in Light-weight components?


there are N number of matchboxes numbered 1...N.each matchbox contain various number of stick.Two player can alternatevely pick some amount of stick from the higest stick containing box . The player is condidered win if there is no stick after his move.Find the final move so that the move player win. Note:In case the number of stick is equal ,pick the stick from the higest numbered box.


wahts is mean by dynavalidatorform in struts/


Hi Friends, i have searched in google but not clear. can you give bank example with synchronized keyword


Which method is called when reference variable is passed in