Core Java 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 59269

Differentiate Vector and ArrayList?

Wipro, Max Telecom,

6 8666

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

Wipro,

7 9219




What is an abstract class?

Wipro, DBS,

7 8064

How can final class be used?

Wipro, Accenture,

5 9986

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

Wipro,

1 11158

Java support what type of parameter passing ?

Wipro,

7 12570

Explain the term serialization?

Wipro,

10 10420




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

Wipro, Infosys,

10 11769

What is Overriding and how can it be used?

Consagous, Wipro,

7 14119

Explain pass by reference and pass by value?

IBM, Wipro,

8 12644

In which way does a Primitive data type is passed ?

Sun Microsystems,

5 8300

What happens when a main method is declared as private?

L&T, DELL, Infosys, Sun Microsystems,

22 38717

Is there any need to import java.lang package?

Sun Microsystems,

13 15826

What is UNICODE?

3 4820


Post New Core Java Questions






Un-Answered Questions { Core Java }

Describe 2 different ways to concatenate two strings.

37


I am unable to find or learn about print command. I have a graphical program in core java in applet but i want to give print command but i have coding for that so if anyone know about this plz mail me on avdhesh_chauhan007@yahoo.co.in

969


Can you make a constructor final in Java?

24


What is singleton pattern?

1


What is a default constraint?

19






State two differences between C and Java.

24


What is meant by stack and queue?

20


What are memory tables?

18


What is exception handling in java?

13


What are user defined exceptions?

13


Write a method to check if input string is palindrome?

20


what is the major difference between linkedlist and arraylist in java?

19


What is a class instance variable?

22


Why do you canvas?

11


Which method must be implemented by all threads?

7