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?

Wipro,

6 7405




What is an abstract class?

Wipro,

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?

Wipro,

1 9416

Java support what type of parameter passing ?

Wipro,

7 10772

Explain the term serialization?

Wipro,

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?

Wipro,

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?

423


please send me hr interview questions in it industry

727


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?

1039


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

761


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

640


What is isolation level? How to set it?

875


What is the Spring2.5 MVC Navigation flow?

3622


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

2237


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

1041


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

718


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

859


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 ?

1127


why java does not support unsigned keyword?

2761


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%.

942


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.

917