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 50164

Differentiate Vector and ArrayList?

Wipro, Max Telecom,

6 5513

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


6 6007

What is an abstract class?


7 4971

How can final class be used?

Wipro, Accenture,

4 6851

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


1 8031

Java support what type of parameter passing ?


7 9306

Explain the term serialization?


10 7396

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


10 8637

What is Overriding and how can it be used?

Consagous, Wipro,

7 11569

How is serialization used generally ?

3 2949

How are Swing and AWT be differentiated?


3 4843

Explain pass by reference and pass by value?

IBM, Wipro,

8 9406

In which way does a Primitive data type is passed ?

Sun Microsystems,

5 5862

What happens when a main method is declared as private?

L&T, DELL, Infosys, Sun Microsystems,

20 26702

Un-Answered Questions { Java Related }

what is mission in weblogic


who will give req's to u?. how they send req's to u? . what design documents contains?. when bugs raised on other developer code how to report to them?.(throgh mail or ........). how to retrive 100 recods from dao layer to presentation layer.using which collection?. what is sequence diagram.?.


Write down program for following scenario. Use java coding standard. You have array list with some words in it..we will call it as dictionary….and you have a arbitrary string containing some chars in it. You have to go through each word of dictionary and find out if that word can be constructed with the help of chars from arbitrary string given. If you find the word print it else print none.


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


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


how to know the total memory occupied by the objects in the ArrayList(Array list may contain duplicate objects)


whats is mean by connectionpooling


Why use a datasource when you can directly specify a connection details? (in a J2EE application)


what happen if we set JDBC string to NULL?


Explain the architectural relationship between JavaBeans and JTA?


What are invisible components?.


how come we know the object is no more used in the class?


Why does java doesnt suuport unsigned values?


hr interview how many minutes asking question


How to Allowe messages to expire ?