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 76557

Differentiate Vector and ArrayList?

Max Telecom, Wipro,

6 14338

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

Wipro,

7 15138

What is an abstract class?

DBS, Wipro,

8 13768

How can final class be used?

Accenture, Wipro,

5 14131

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

Wipro,

1 13665

Java support what type of parameter passing ?

Wipro,

7 17865

Explain the term serialization?

Wipro,

10 16513

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

Infosys, Wipro,

10 18389

What is Overriding and how can it be used?

Consagous, Wipro,

7 19132

How is serialization used generally ?

3 8183

How are Swing and AWT be differentiated?

Wipro,

3 8913

Explain pass by reference and pass by value?

IBM, Wipro,

8 18173

In which way does a Primitive data type is passed ?

Sun Microsystems,

5 12206

What happens when a main method is declared as private?

DELL, Infosys, L&T, Sun Microsystems,

22 56309


Un-Answered Questions { Java J2EE }

What is difference between spring boot and spring framework? : Spring Boot

217


What is general entity?

593


Why are getters and setters used?

662


What is ide with example?

638


What is cross cutting concerns in spring aop?

209






Do you think that java should have had pointers?

707


Is singleton set an interval?

634


What is advance java?

590


Why do we need hibernate?

225


What are ejbs used for?

587


What is the difference between forward () and sendredirect () functions in servlet? Explain

642


What is downcasting?

685


What is deque in the java collections framework? : java collections

622


How do you override a method?

635


Which annotation is used to auto generate primary key?

402