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,

32 50164

Differentiate Vector and ArrayList?

Wipro, Max Telecom,

6 5513

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


6 6007

What is an abstract class?


7 4971

How can final class be used?

Wipro, Accenture,

4 6851

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


1 8031

Java support what type of parameter passing ?


7 9306

Explain the term serialization?


10 7396

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


10 8637

What is Overriding and how can it be used?

Consagous, Wipro,

7 11569

How is serialization used generally ?

3 2949

How are Swing and AWT be differentiated?


3 4843

Explain pass by reference and pass by value?

IBM, Wipro,

8 9406

In which way does a Primitive data type is passed ?

Sun Microsystems,

5 5862

What happens when a main method is declared as private?

L&T, DELL, Infosys, Sun Microsystems,

20 26702

Un-Answered Questions { Java J2EE }

What is the use of


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


Tell me about your ability to work under pressure


What are the steps to send and receive JMS message ?


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.


what is handle?


How a component can be placed on Windows?


Why does java doesnt suuport unsigned values?


Hi friends am new to java. I read jar file means collection of java files. For executing struts application what are the necessary jar files. " struts.jar " file contains what. can u explain


how to prepare for IT Officers Interview in Banks


Q1.A. Write note on “The class path Environment Variable”? B. Which are different kinds of source code? Q2.A. How to create an interface? B. Why convert an applet to an application? Q3.A. How to use Media tracker Class. B. How to use string tokenizer class. Q4 A. Explain the overview of UDP messaging. B. Difference between SQL Exception class and SQL Warning class. Q5. A. How to create com object in Java? B. Write short notes on “The properties class” Q6. A. When object is created and destroyed? B. Explain the JDB in depth & command line. C. Write short notes on Web Sites.


What is JDBC Driver interface?How can you retrieve data from the ResultSet


Define the remote object implementation?


public class Test { public static void main(String[] args) { int countA = 0; int countB = 0; int countC = 0; int countD = 0; int countE = 0; int countF = 0; int countG = 0; int countH = 0; int countI = 0; int countJ = 0; int countK = 0; int countL = 0; int countM = 0; int countN = 0; int countO = 0; int countP = 0; int countQ = 0; int countR = 0; int countS = 0; int countT = 0; int countU = 0; int countV = 0; int countW = 0; int countX = 0; int countY = 0; int countZ = 0; } } Can anybody tell me any alternate solution(like loop or something) to automate this initialization process. Ex:- for(char chr='A';chr<='Z'; chr++) { (int) String "count"+chr = 0; }


what is Bootstrap loader program?