Core Java Interview Questions
Questions Answers Views Company eMail

which method is used to know the status of the Thread?

Honeywell,

9 12957

is this possible to create an array of 0 length? if so how? if not so why? coz we have an array in main() likw this "static void main(String [] s) then what it signifies?

Hexaware, TCS,

3 16990

Is it possible to write static method in abstract class? justyfy your answer?

Hexaware,

5 13642

what is the difference between HashMap And HashTable?

Hexaware,

5 11107

what is the difference between abstract class and Interface?where we can use it in realtime projects?

Agile Software, Cognizant, IBM, Innodata, Logica CMG, Mitosis, Nagarro, Value Chain,

23 64736

How many bits are used to represent unicodde,ASCII,UTF-16 and UTF-8 characters?

2 5194

which class to use when concatenating strings in a loop.

IBM,

3 7570

what are depricated methods ?

Satyam,

5 9504

What is multiple inheritance & can we implement it in java?

Satyam,

6 12967

what is the difference between cd & dvd ?

Lovely Professional University, Satyam, Sibylsys,

30 48519

why java does not support multiple inheritance

Diamond, Euclid, Evergent, KLKJ, Mind Tree, NIIT, SSI Small Scale Industries, Wipro,

41 93068

why to use transient variables when static variables can be used for Serialization

4 19150

what is the difference between HashMap and Hashtable

Value Labs, Virtusa,

17 57985

what is the difference between ArrayList and Vector

KPIT, Sasken, Satyam, Span Infotech, Wipro,

19 43630

what is the difference between @include page and @include file

2 7882


Post New Core Java Questions

Un-Answered Questions { Core Java }

You can create a string object as string str = “abc”; why cant a button object be created as button bt = “abc”;? Explain

517


What advantage do java's layout managers provide over traditional windowing systems?

533


What is meant by javabeans?

601


Explain public static void main(string args[]).

554


What is the applet security manager, and what does it provide?

525






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?

1819


Where pragma is used?

585


What is Java Reflection API? Why it’s so important to have?

591


What is hashset in java?

518


What is length in java?

560


What is super keyword explain with example?

521


State differences between C and Java?

645


What are java annotations?

631


How are observer and observable used in java programming?

535


When do you call copy constructor?

543