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?

Wipro,

6 6007




What is an abstract class?

Wipro,

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?

Wipro,

1 8031

Java support what type of parameter passing ?

Wipro,

7 9306

Explain the term serialization?

Wipro,

10 7396

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

Wipro,

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?

Wipro,

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

5057


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.?.

769


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.

1278


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

801


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

4005


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

590


whats is mean by connectionpooling

635


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

2070


what happen if we set JDBC string to NULL?

2067


Explain the architectural relationship between JavaBeans and JTA?

1511


What are invisible components?.

770


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

3588


Why does java doesnt suuport unsigned values?

810


hr interview how many minutes asking question

593


How to Allowe messages to expire ?

195