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, TCS,

32 56921

Differentiate Vector and ArrayList?

Wipro, Max Telecom,

6 7894

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


7 8394

What is an abstract class?


7 7173

How can final class be used?

Wipro, Accenture,

5 9079

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


1 10480

Java support what type of parameter passing ?


7 11702

Explain the term serialization?


10 9537

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

Wipro, Infosys,

10 10908

What is Overriding and how can it be used?

Consagous, Wipro,

7 13351

How is serialization used generally ?

3 4410

How are Swing and AWT be differentiated?


3 5723

Explain pass by reference and pass by value?

IBM, Wipro,

8 11725

In which way does a Primitive data type is passed ?

Sun Microsystems,

5 7539

What happens when a main method is declared as private?

L&T, DELL, Infosys, Sun Microsystems,

22 36107

Un-Answered Questions { Java J2EE }

What are the differences between Java 1.0 and Java 2.0?


what is mean by OLE ? Please answer me. Advance thanks.


can u explain about design patterns like singleton,builder,factory


how to connect from struts to database through hibernet and where u can modify the class


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


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 Set interface contains unique elements, what internally implemented for this so that it contains unique elements?


Howto get an object that will perform date & time calculations then format it for output in some different locales with different date style.can ne1 tel me the answer of this question.pls


in EJB diclare the static methods are not?


What does those terms actually mean included in the j.d.k i.6?


How to Allowe messages to expire ?


23. Storage space in java is of the form Stack Queue Heap List 24. What is java code embedded in a web page known as Applets Servlets scriptlets snippets 25. Which of the following attributes are compulsory with an tag?. code,height & width. 26. What does 'CODEBASE' in an applet tag specify?. Files absolute path.


What is JMS API Architecture?


What collections you have worked on? Internal working of Hashmap?


who can i handle multiple client in RMI