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?

Wipro,

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?

Wipro,

1 11411

Java support what type of parameter passing ?

Wipro,

7 12853

Explain the term serialization?

Wipro,

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?

Wipro,

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?

9


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

1641


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

25


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

52


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

42






Why java is a platform independent? Explain

34


What are the ways to avoid lazyinitializationexception?

1


What do you understand by an io stream?

34


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

1


What is the use of welcome-file-list?

35


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?

28


What is auto wiring?

7


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

56


What is difference between protected and private?

8


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...

1362