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 54083

Differentiate Vector and ArrayList?

Wipro, Max Telecom,

6 6861

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


6 7405

What is an abstract class?


7 6244

How can final class be used?

Wipro, Accenture,

5 8134

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


1 9416

Java support what type of parameter passing ?


7 10772

Explain the term serialization?


10 8594

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

Wipro, Infosys,

10 9892

What is Overriding and how can it be used?

Consagous, Wipro,

7 12572

How is serialization used generally ?

3 3830

How are Swing and AWT be differentiated?


3 5292

Explain pass by reference and pass by value?

IBM, Wipro,

8 10640

In which way does a Primitive data type is passed ?

Sun Microsystems,

5 6825

What happens when a main method is declared as private?

L&T, DELL, Infosys, Sun Microsystems,

21 32392

Un-Answered Questions { Java Related }

What is Point-to-Point Approach?


please send me hr interview questions in it industry


What design pattern you have used in your project? I answered Factory pattern, how it is implemented? What are its advantage? Do know about Abstract Factory?


Which of the following is not an isolation level in the JDBC


how to deploy tomcatserver to weblogic server? write d following steps?


What is isolation level? How to set it?


What is the Spring2.5 MVC Navigation flow?


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


What are the sequence of steps to write pub or sub model kind of application?


Hi.... I applied for the post of scientific officer/Engineer-SB(Programmer).Please post the syllabus and sample papers.


to update a batch in a table in jdbc which method of statement object is used


public class ActionSearchBean extends GenericSearchBean { @Override public String search() { data.setRowCount(null); if(data.getRowCount()==0){ data.getNoRecordFound().setRendered(true); data.getDataScroller().setRendered(false); } return "searchAction"; } @Override public String clear() { data.setRowCount(null); if (data.getRowCount() > 0){ data.getNoRecordFound().setRendered(false); data.getDataScroller().setRendered(true); }else{ data.getNoRecordFound().setRendered(true); data.getDataScroller().setRendered(false); } data.setModel(new ActionDTO()); data.setRowCount(null); return "searchAction"; } } what is the purpose of @Override ...what will do @Override here ?


why java does not support unsigned keyword?


Write a program for the problem: the array of inetegers indicating the marks of the students is given, U have to calculate the percentile of the students aaccording to this rule: the percentile of a student is the %of no of student having marks less then him. For eg: suppose Student Marks A 12 B 60 C 80 D 71 E 30 F 45 percentile of C = 5/5 *100 = 100 (out of 5 students 5 are having marks less then him) percentile of B = 3/5*100 = 60% (out of 5, 3 have markses less then him) percentile of A = 0/5*100 = 0%.


how to make a index.jsp for running the site in internet and find an error for connection with weblogic server and java that give an error invalid object name.and how to maintain session.