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 60852

Differentiate Vector and ArrayList?

Wipro, Max Telecom,

6 9159

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

Wipro,

7 9781




What is an abstract class?

Wipro, DBS,

7 8609

How can final class be used?

Wipro, Accenture,

5 10498

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

Wipro,

1 11549

Java support what type of parameter passing ?

Wipro,

7 13034

Explain the term serialization?

Wipro,

10 10979

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

Wipro, Infosys,

10 12474

What is Overriding and how can it be used?

Consagous, Wipro,

7 14686

How is serialization used generally ?

3 5308

How are Swing and AWT be differentiated?

Wipro,

3 6475

Explain pass by reference and pass by value?

IBM, Wipro,

8 13155

In which way does a Primitive data type is passed ?

Sun Microsystems,

5 8721

What happens when a main method is declared as private?

L&T, DELL, Infosys, Sun Microsystems,

22 40210







Un-Answered Questions { Java Related }

What is caller?

60


What are the containers in spring?

3


How do you trim a space in java?

30


How to sort array of 0 and 1 in java?

23


How you can deliver a java message to a non-java client?

52






If an object reference is set to null, will the garbage collector immediately free the memory held by that object?

58


How do you find the struts version being used in a project?

24


What is a beanfactory interface?

5


What is frame in java swing?

20


How do you remove duplicates in java?

12


Can we write any code after throw statement?

83


How to connect html page to database using jdbc?

21


What driver should I use for scalable Oracle JDBC applications?

72


What is a queued message?

20


Can we inherit inner class?

26