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 50718

Differentiate Vector and ArrayList?

Wipro, Max Telecom,

6 5670

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


6 6198

What is an abstract class?


7 5163

How can final class be used?

Wipro, Accenture,

4 7004

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


1 8178

Java support what type of parameter passing ?


7 9483

Explain the term serialization?


10 7579

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


10 8824

What is Overriding and how can it be used?

Consagous, Wipro,

7 11715

How is serialization used generally ?

3 3122

How are Swing and AWT be differentiated?


3 4906

Explain pass by reference and pass by value?

IBM, Wipro,

8 9545

In which way does a Primitive data type is passed ?

Sun Microsystems,

5 5990

What happens when a main method is declared as private?

L&T, DELL, Infosys, Sun Microsystems,

20 27441

Un-Answered Questions { Java Related }

hi actully i hav form columns with origin and destination names .as like as i need to create one more column with name amount. my requirement is when i select origin and destination columns automatically i need to get amount from can i. please tel me with relative code


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


What is Stream Tokenizer?


what r advatages of websphere? & how to deploy?


Write a Java program to deactivate a cell phone when authentication failed


Which method is called when reference variable is passed in


program A and B are analysed and found to have worst case running time greater than 150NlogN and N*N respectively. which program has the better guarantee after the running time for the large values of N(N>10000)? which program has the better guarantee for the running time of small program N (N<100)? which program will run faster on average for N=1000?


How many Action classes have been used in your project? Differences between struts 1.1 and 1.3?


how can u integrate ejb and hibernate? How can u call hibernateDAO methods in session bean?


What is Client-Server Computing?


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


What is your platform?s default character encoding and how to know this?


can u draw class/object diagram for ATM


How to print nodes of a Binary tree?


Must I place all my class files in the WEB-INF folder and all JSP's outside?