Java J2EE 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,

31 47017

Differentiate Vector and ArrayList?

Wipro, Max Telecom,

4 4538

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

Wipro,

6 5036

What is an abstract class?

Wipro,

6 4028

How can final class be used?

Wipro, Accenture,

3 5877

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

Wipro,

1 7136

Java support what type of parameter passing ?

Wipro,

7 8265

Explain the term serialization?

Wipro,

10 6475

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

Wipro,

10 7672

What is Overriding and how can it be used?

Consagous, Wipro,

7 10744

How is serialization used generally ?

2 2604

How are Swing and AWT be differentiated?

Wipro,

3 4499

Explain pass by reference and pass by value?

IBM, Wipro,

7 8646

In which way does a Primitive data type is passed ?

Sun Microsystems,

5 5000

What happens when a main method is declared as private?

L&T, DELL, Infosys, Sun Microsystems,

18 22451



Un-Answered Questions { Java J2EE }

what is collatration?

1334


what is meant by JRMP?

824


Why are the destructors for base class and derived class called in reverse order when the program exits

722


What is JMS API Architecture?

137


wahts is mean by dynavalidatorform in struts/

460


What are the services in RMI ?

846


what is bmg file and how to create that files?what will it contailn?

635


while working struts in intellij 7.0error unable to initialize tld location cache: zip file is closed is displayed anybdy can answer me immdialy .ungert

1063


How to solve the problem of generating the unique hash keys with hash function?

466


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 ?

933


What happens to the Exception object after handling an exception?

739


can anyone explain me the workflow of EJB.I have developed an app. in WSAD using an example that contains CMP and session bean.But i am not able to understand the basic flow between diffrent packages.

793


What is the exact difference in between Unicast and Multicast object?

499


Which server-side script takes the input from JavaScript, can access the database if it needs to, and processes the data.

647


why java does not support unsigned keyword?

2421