Java J2EE Interview Questions
Questions Answers Views Company eMail

What is garbage collection in Java, and how can it be used ?

Accenture, HCL, Infosys, Sara, SITS, TCS, Wipro,

32 78625

Differentiate Vector and ArrayList?

Max Telecom, Wipro,

6 15063

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

Wipro,

7 15805

What is an abstract class?

DBS, Wipro,

8 14370

How can final class be used?

Accenture, Wipro,

5 14557

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

Wipro,

1 13953

Java support what type of parameter passing ?

Wipro,

7 18520

Explain the term serialization?

Wipro,

10 17285

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

Infosys, Wipro,

10 19196

What is Overriding and how can it be used?

Consagous, Wipro,

7 19734

How is serialization used generally ?

3 8555

How are Swing and AWT be differentiated?

Wipro,

3 9317

Explain pass by reference and pass by value?

IBM, Wipro,

8 18687

In which way does a Primitive data type is passed ?

Sun Microsystems,

5 12611

What happens when a main method is declared as private?

DELL, Infosys, L&T, Sun Microsystems,

22 57925


Un-Answered Questions { Java J2EE }

How to create object without using the keyword “new” in java?

704


How to invoke stored procedure in hibernate?

644


Explain integrate log4j in struts2 application?

759


What method is invoked to cause an object to begin executing as a separate thread?

771


What are passing parameters?

772


Write an sql to find all records having all upper case alphanumeric characters in a field ?

705


What is increment in java?

714


What is application tuning?

859


Is it necessary to register controller command in cmdreg table?

788


I tried to run two of the applets in the examples directory of the distribution? : BEA Weblogic

683


How can we get Servlet API Request, Response, HttpSession etc Objects in action classes?

800


What are the methods of bean life cycle?

293


What is the difference between pathvariable and requestparam?

259


What is difference between request and prototype scope in spring?

262


Difference between DurableSubscription and non- DurableSubscription?

1932