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 74161

Differentiate Vector and ArrayList?

Max Telecom, Wipro,

6 13428

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

Wipro,

7 14221

What is an abstract class?

DBS, Wipro,

7 12683

How can final class be used?

Accenture, Wipro,

5 13545

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

Wipro,

1 13342

Java support what type of parameter passing ?

Wipro,

7 17049

Explain the term serialization?

Wipro,

10 15482

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

Infosys, Wipro,

10 17411

What is Overriding and how can it be used?

Consagous, Wipro,

7 18319

How is serialization used generally ?

3 7653

How are Swing and AWT be differentiated?

Wipro,

3 8489

Explain pass by reference and pass by value?

IBM, Wipro,

8 17361

In which way does a Primitive data type is passed ?

Sun Microsystems,

5 11628

What happens when a main method is declared as private?

DELL, Infosys, L&T, Sun Microsystems,

22 54013


Un-Answered Questions { Java Related }

What is @repository annotation in spring boot? : Spring Boot

170


What is definition and declaration?

497


Which xml parser comes with weblogic server 6.1? : BEA Weblogic

494


What is the meaning of “dirty read” in the database?

538


can used Protected Class outside Function.?

587






What is authorization?

560


What type of variable is gender?

520


What are the different modes of autowiring?

152


What is encrypted connection?

477


What is the use of jsonvalidation?

569


How action mapping is configured in Struts?

538


What is application assembler?

498


What is the use of entity class in java?

437


What are the basic control structures?

475


What is an advice? What are the different types of advices?

158