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?

Wipro,

7 8395




What is an abstract class?

Wipro,

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?

Wipro,

1 10481

Java support what type of parameter passing ?

Wipro,

7 11703

Explain the term serialization?

Wipro,

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

957


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.

873


what is ststic with example

916


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

788


What is files manifesting?

1011






Can you give names of Container classes?

1157


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

1011


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

847


java Technical questions asked by JPMC

3810


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.

5734


What is Session reduplication and how its done?

851


What is procedure overloading?

1047


what r advatages of websphere? & how to deploy?

935


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.

942


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?

1171