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 61628

Differentiate Vector and ArrayList?

Wipro, Max Telecom,

6 9400

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

Wipro,

7 10033

What is an abstract class?

Wipro, DBS,

7 8869

How can final class be used?

Wipro, Accenture,

5 10771

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

Wipro,

1 11723

Java support what type of parameter passing ?

Wipro,

7 13308

Explain the term serialization?

Wipro,

10 11240

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

Wipro, Infosys,

10 12799

What is Overriding and how can it be used?

Consagous, Wipro,

7 14939

How is serialization used generally ?

3 5488

How are Swing and AWT be differentiated?

Wipro,

3 6602

Explain pass by reference and pass by value?

IBM, Wipro,

8 13463

In which way does a Primitive data type is passed ?

Sun Microsystems,

5 8908

What happens when a main method is declared as private?

L&T, DELL, Infosys, Sun Microsystems,

22 40972







Un-Answered Questions { Java J2EE }

How do you input a string in java?

54


Can you control logging with spring boot how? : Spring Boot

5


Explain how to force the garbage collection in java.

87


what is mq client?

106


Why jpa is better than hibernate?

1






What are instance variables?

92


When a thread is executing a synchronized method , then is it possible for the same thread to access other synchronized methods of an object ?

101


Define authorization constraint?

80


What's the advantages using servlets than using cgi?

82


How to use arraylist in java netbeans?

33


How does sessionfactory work in hibernate?

1


What is the use of inner class?

64


How is a typical spring implementation look like?

9


What is adapter in java?

53


What is style and indentation?

75