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 59042

Differentiate Vector and ArrayList?

Wipro, Max Telecom,

6 8610

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

Wipro,

7 9140




What is an abstract class?

Wipro, DBS,

7 7991

How can final class be used?

Wipro, Accenture,

5 9921

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

Wipro,

1 11121

Java support what type of parameter passing ?

Wipro,

7 12492

Explain the term serialization?

Wipro,

10 10330

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

Wipro, Infosys,

10 11664

What is Overriding and how can it be used?

Consagous, Wipro,

7 14029

How is serialization used generally ?

3 4909

How are Swing and AWT be differentiated?

Wipro,

3 6179

Explain pass by reference and pass by value?

IBM, Wipro,

8 12561

In which way does a Primitive data type is passed ?

Sun Microsystems,

5 8223

What happens when a main method is declared as private?

L&T, DELL, Infosys, Sun Microsystems,

22 38409







Un-Answered Questions { Java Related }

What is files manifesting?

1138


Describe activation process?

1371


How entity beans support container managed persistence?

1424


What do you mean by ejbdoclet?

5


Is There Any Possibility For Starting Managed Server During The Absence Of Administrator Server ?

19






What are different types of ResultSet?

13


Write the basic requirement of a cmp entity based class in 2.0 from ejb 1.1?

4


Hi all, I am dng a mini project on FileSplitter application which splits the GBs of logfile into Smaller chunks(mbs) depending on the split size." How to handle GBs file? I am getting OutOfMemoryException, when I input such GB sized file. Thx

1005


what is queuemanager in ibm websphere mq ? What does queuemanager do?

11


Explain about compute Grid?

7


When do we need to use internal iteration? When do we need to use external iteration?

12


What is the difference between Java and C++?

12


Explain about logic match tag?

6


When should I use a custom login module versus a TAI to assert identity information?

7


Explain try and catch keywords in java?

10