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 60896

Differentiate Vector and ArrayList?

Wipro, Max Telecom,

6 9170

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

Wipro,

7 9799




What is an abstract class?

Wipro, DBS,

7 8623

How can final class be used?

Wipro, Accenture,

5 10510

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

Wipro,

1 11558

Java support what type of parameter passing ?

Wipro,

7 13043

Explain the term serialization?

Wipro,

10 10995

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

Wipro, Infosys,

10 12494

What is Overriding and how can it be used?

Consagous, Wipro,

7 14709

How is serialization used generally ?

3 5319

How are Swing and AWT be differentiated?

Wipro,

3 6481

Explain pass by reference and pass by value?

IBM, Wipro,

8 13171

In which way does a Primitive data type is passed ?

Sun Microsystems,

5 8732

What happens when a main method is declared as private?

L&T, DELL, Infosys, Sun Microsystems,

22 40264







Un-Answered Questions { Java J2EE }

Explain what is the purpose of stub in web-logic server cluster?

41


Why stringbuilder is not thread safe in java?

23


Explain numeric promotion?

77


What is double word?

28


what are the steps required in creating an empty table drop?

43






Does constructor creates the object ?

59


What is the difference between load() and get() method in hibernate?

1


What is a string token?

28


What is array size in java?

25


What is java and why do we need it? Explain

66


Is hibernate a database?

1


What are the three parts of a lambda expression? What is the type of lambda expression?

80


What are derived properties?

1


Explain jta, jndi, and jms.

50


Do you know how to reverse string in java?

57