Java Related 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 74849

Differentiate Vector and ArrayList?

Max Telecom, Wipro,

6 13684

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

Wipro,

7 14510

What is an abstract class?

DBS, Wipro,

7 12909

How can final class be used?

Accenture, Wipro,

5 13717

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

Wipro,

1 13434

Java support what type of parameter passing ?

Wipro,

7 17292

Explain the term serialization?

Wipro,

10 15794

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

Infosys, Wipro,

10 17710

What is Overriding and how can it be used?

Consagous, Wipro,

7 18582

How is serialization used generally ?

3 7822

How are Swing and AWT be differentiated?

Wipro,

3 8609

Explain pass by reference and pass by value?

IBM, Wipro,

8 17596

In which way does a Primitive data type is passed ?

Sun Microsystems,

5 11807

What happens when a main method is declared as private?

DELL, Infosys, L&T, Sun Microsystems,

22 54671


Un-Answered Questions { Java Related }

What is meant by binding in rmi?

556


What are the differences between bean factory and application context?

162


What are the databases that are available to be used with the web logic j2ee connector architecture?

508


How the interruptible method gets implemented?

569


How you will decide when to use prototype scope and when singleton scope bean?

157






How do you communicate in between Applets and Servlets?

599


Explain where variables are created in memory?

588


What is struts?

587


when should you use stringbuilder class in a program?

528


Which compiler is used in java?

484


What is the final field modifier?

552


What is di ioc?

158


Tell me about different OOPS concepts.

599


Why is ftp stateful?

535


Why are struts tightly coupled?

595