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

Differentiate Vector and ArrayList?

Wipro, Max Telecom,

6 8978

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


7 9575

What is an abstract class?

Wipro, DBS,

7 8404

How can final class be used?

Wipro, Accenture,

5 10292

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


1 11411

Java support what type of parameter passing ?


7 12853

Explain the term serialization?


10 10766

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

Wipro, Infosys,

10 12205

What is Overriding and how can it be used?

Consagous, Wipro,

7 14475

How is serialization used generally ?

3 5159

How are Swing and AWT be differentiated?


3 6363

Explain pass by reference and pass by value?

IBM, Wipro,

8 12950

In which way does a Primitive data type is passed ?

Sun Microsystems,

5 8566

What happens when a main method is declared as private?

L&T, DELL, Infosys, Sun Microsystems,

22 39689

Un-Answered Questions { Java Related }

What is the difference between method and means?


what is mean by OLE ? Please answer me. Advance thanks.


How do I use os authentication with weblogic jdriver for oracle and connection pools? : BEA Weblogic


What are all the features of JMS API in J2EE platform?


what is the value time stamp format in log target for?


Why java is a platform independent? Explain


What are the ways to avoid lazyinitializationexception?


What do you understand by an io stream?


What is the file extension used for hibernate mapping file and hibernate configuration file?


What is the use of welcome-file-list?


Java prints out a ton of digits when I system.out.println() a double. How can I format it so it displays only 3 digits after the decimal place?


What is auto wiring?


How many JVMs can run on a single machine and what is the meaning of Just-In-Time (JIT) compiler?


What is difference between protected and private?


Since we can create managed bean by two ways as, we can define the bean name in faces-config.xml file so that page can use that OR we can write annotation on bean class so that it is automatically assign to page but I want to know which one is good programming practice ? And also mention disadvantage of other which should not prefer ... Thanking you...