Core Java Interview Questions
Questions Answers Views Company eMail

what is use of marker interface? give me good example?

2 5621

what is use of threads how many ways to create thread

iTrust, Verizon,

3 10064

Program to print 1 1 2 1 2 3 1 2 3 4 like that

Huawei,

8 12607

program to find 25 square = 625 here the 625 of last two digits is equal to 25, i don't know excatly what this type of number is called

Huawei,

1 3982

i need to know the website that i can compile and run a java code in online.(while system doesn't contain any jdk and jre)

1849

What is JAVA? Why it is platform independent?

NIIT,

10 12934

i need to know the site which compiles and run the java program completely in online... thank you for your reply in advance

2 3621

what questions are been asked ??? for interview in apti

1903

Features of JAVA ? In which version of java synchronizedXXX() methods are included in Collections class.

NIIT,

1 6469

all are saying java doesn't support multiple inheritance but by default Object class is super class for all the user defined classes and we can extend atmost one class so each class can extend more than one class so java supports multiple inheritance?i am confused with this,pls any one explain me.

4 6903

all are saying java doesn't support multiple inheritance but by default Object class is super class for all the user defined classes and we can extend atmost one class so each class can extend more than one class so java supports multiple inheritance?i am confused with this,pls any one explain me.

CFG,

8 8171

what is class.forname() and how it will be useful ?

3 5298

how and when compiler knows that the Java code throws the checked Exception.

HSBC,

2 12079

diff. b/w JAVA and javascript...

NIIT,

3 6095

what is the difference between String s="hello"; and String s=new String("hello");?

3 13123


Post New Core Java Questions

Un-Answered Questions { Core Java }

Does the order of public and static declaration matter in main method?

854


Why is java multithreaded?

754


What is an abstract class and what is it’s purpose?

744


Can we use this () and super () in a method?

746


Explain about instanceof operator in java?

823


What is ‘has a’’ relationship in java?

964


What is :: operator in java 8?

810


Is string pool garbage collected?

787


Why do we override tostring method in java?

703


Can you declare an interface method static?

821


What does java final mean?

742


Is math class static in java?

853


Can a final variable be manipulated in java?

765


How many return statement are allowed in a function?

672


What methods are used in Servlet?Applet communication?

1938