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 56923

Differentiate Vector and ArrayList?

Wipro, Max Telecom,

6 7895

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


7 8395

What is an abstract class?


7 7174

How can final class be used?

Wipro, Accenture,

5 9080

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


1 10481

Java support what type of parameter passing ?


7 11703

Explain the term serialization?


10 9538

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

Wipro, Infosys,

10 10909

What is Overriding and how can it be used?

Consagous, Wipro,

7 13352

Explain pass by reference and pass by value?

IBM, Wipro,

8 11726

In which way does a Primitive data type is passed ?

Sun Microsystems,

5 7540

What happens when a main method is declared as private?

L&T, DELL, Infosys, Sun Microsystems,

22 36108

Is there any need to import java.lang package?

Sun Microsystems,

13 14932

What is UNICODE?

3 4397

Post New Core Java Questions

Un-Answered Questions { Core Java }

how to deploy apache tomcat server to weblogic server in java


Addition to previous section relative word 5th one was Putrid ans: rotten, also there was prob. in 1st section on bucket weight ans:10kg, also there was a prob. on train speed to find bridge length ans:800 mtrs.


what is ststic with example


What is the exact difference in between Unicast and Multicast object?


What is files manifesting?


Can you give names of Container classes?


Why are the destructors for base class and derived class called in reverse order when the program exits


What is stored procedure. How do you create stored procedure ?


java Technical questions asked by JPMC


Q1.A. Write note on “The class path Environment Variable”? B. Which are different kinds of source code? Q2.A. How to create an interface? B. Why convert an applet to an application? Q3.A. How to use Media tracker Class. B. How to use string tokenizer class. Q4 A. Explain the overview of UDP messaging. B. Difference between SQL Exception class and SQL Warning class. Q5. A. How to create com object in Java? B. Write short notes on “The properties class” Q6. A. When object is created and destroyed? B. Explain the JDB in depth & command line. C. Write short notes on Web Sites.


What is Session reduplication and how its done?


What is procedure overloading?


what r advatages of websphere? & how to deploy?


For ease of programming you can consider the maze as a 2D array with colors represented by below integer and characters (in capital letters). • B - Black • W -White • G- Green • R- Red R B W B W W W W W W B W B B W W W W W W W B W B W W W B W W W W B B W W W B W W W B W W B B B B W B W B W W B W W W B W W W B B B W W B W W W B W W B W B W W W B W B W W W W B B W W W W B W W W W W G Shortest Route Problem: • Solution that finds the shortest Route between Red and Green  White will have 1 Weight.  Red and Green carry no weights.  Shortest path is the path with less weight when you add up the weights in the path.


2) Suppose there are 5 directories having lot of files (say txt files) in each directory. 2 things :- 2.1) You want to search for filenames which have a particular pattern. 2.2) Out of these filtered files you want to search for a particular keyword or a search string. How can you achieve this?