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,

32 48771

Differentiate Vector and ArrayList?

Wipro, Max Telecom,

5 5068

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

Wipro,

6 5545

What is an abstract class?

Wipro,

6 4504

How can final class be used?

Wipro, Accenture,

4 6433

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

Wipro,

1 7658

Java support what type of parameter passing ?

Wipro,

7 8855

Explain the term serialization?

Wipro,

10 6944

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

Wipro,

10 8128

What is Overriding and how can it be used?

Consagous, Wipro,

7 11190

Explain pass by reference and pass by value?

IBM, Wipro,

8 9053

In which way does a Primitive data type is passed ?

Sun Microsystems,

5 5455

What happens when a main method is declared as private?

L&T, DELL, Infosys, Sun Microsystems,

20 25013

Is there any need to import java.lang package?

Sun Microsystems,

13 11709

What is UNICODE?

3 3022


Post New Core Java Questions


Un-Answered Questions { Core Java }

What happens to the Exception object after handling an exception?

758


public class Test { public static void main(String[] args) { int countA = 0; int countB = 0; int countC = 0; int countD = 0; int countE = 0; int countF = 0; int countG = 0; int countH = 0; int countI = 0; int countJ = 0; int countK = 0; int countL = 0; int countM = 0; int countN = 0; int countO = 0; int countP = 0; int countQ = 0; int countR = 0; int countS = 0; int countT = 0; int countU = 0; int countV = 0; int countW = 0; int countX = 0; int countY = 0; int countZ = 0; } } Can anybody tell me any alternate solution(like loop or something) to automate this initialization process. Ex:- for(char chr='A';chr<='Z'; chr++) { (int) String "count"+chr = 0; }

636


which pattern is default in scanner package?

865


How to display names of all components in a Container?

1440


java program with complete 4 oops concepts implemented example

1755


If goto and const is reserve words than why it is not work in java?

548


How to Sort Strings which are given in List and display in ascending order without using java api.

2058


What are invisible components?.

740


What collections you have worked on? Internal working of Hashmap?

758


why java uses class level type casting ?

1207


What is the difference between JDBC 1.0 and JDBC 2.0?

1491


what type of questions asked for barclays technologies pune please send urgent

3759


how come we know the object is no more used in the class?

3489


What are the restrictions imposed by a Security Manager on Applets?.

898


how can i use a nonsynchronized hashtable?

1005