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 59985

Differentiate Vector and ArrayList?

Wipro, Max Telecom,

6 8893

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

Wipro,

7 9488




What is an abstract class?

Wipro, DBS,

7 8317

How can final class be used?

Wipro, Accenture,

5 10211

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

Wipro,

1 11351

Java support what type of parameter passing ?

Wipro,

7 12783

Explain the term serialization?

Wipro,

10 10652

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

Wipro, Infosys,

10 12096

What is Overriding and how can it be used?

Consagous, Wipro,

7 14379

How is serialization used generally ?

3 5105

How are Swing and AWT be differentiated?

Wipro,

3 6320

Explain pass by reference and pass by value?

IBM, Wipro,

8 12867

In which way does a Primitive data type is passed ?

Sun Microsystems,

5 8502

What happens when a main method is declared as private?

L&T, DELL, Infosys, Sun Microsystems,

22 39448







Un-Answered Questions { Java Related }

Which of the following classes will have more memory allocated?

23


Does WebSphere Application Server support CA Siteminder?

26


What is the difference between @before and @beforeclass annotation?

23


Highest level event class of the event-delegation model?

2651


What is the benefit of native sql query support in hibernate?

1






What are different Struts2 tags? How can we use them?

34


How can enterprise javabeans be accessed from active server pages?

36


Define jre i.e. Java runtime environment?

22


How many way to start and stop weblogic servers?

43


What do you mean by access modifier?

18


What is the spring java based configuration?

5


What is colon_pkg_prefixes and what is its use?

1443


RowSetInternal caller and returns void. What can I do in the readData method?

31


Why won’t the jvm terminate when I close all the application windows?

24


What will happen if there is a default method conflict as mentioned above and we have specified the same signature method in the base class instead of overriding in the existing class ?

24