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?

Wipro,

6 6198




What is an abstract class?

Wipro,

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?

Wipro,

1 8178

Java support what type of parameter passing ?

Wipro,

7 9483

Explain the term serialization?

Wipro,

10 7579

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

Wipro,

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?

Wipro,

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 database.how can i. please tel me with relative code

1176


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

633


What is Stream Tokenizer?

783


what r advatages of websphere? & how to deploy?

704


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

831


Which method is called when reference variable is passed in system.net?

859


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?

718


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

1554


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

1588


What is Client-Server Computing?

909


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

4049


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

762


can u draw class/object diagram for ATM

4500


How to print nodes of a Binary tree?

852


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

166