Core Java Interview Questions
Questions Answers Views Company eMail

In method overloading ,if i change the return type to Long instead of INT,is the program execute

HCL,

6 9933

wat is class level lock and object level lock

HCL, Persistent,

3 21007

is it possible to add a object in a HASHMAP

HCL,

6 7983

why we cannot declare static variable inside a static method

4 8149

why using interface interface ?

1482

why use interface? if interface declear a method implement in class. why direct implement method in class

HCL,

1 1961

different between exception and error? explaim check and uncheck exception

4 5930

Difference between interface and abstract class with ex.

Cognizant, Tech Mahindra,

4 8002

what is Thread priority?

Tech Mahindra, Wipro,

4 6492

Distinguish method overloading and overriding

Tech Mahindra,

2 4522

Distinguish method overloading and method overriding

Tech Mahindra,

4 5754

What is thread priority?

Tech Mahindra,

1 4988

Why Over riding is Run Time Polymorphism?

Genpact,

3 14554

How many objects are created when we create String class object using new operator?

Mind Tree,

9 24622

What is onClassLoader in java?

Cap Gemini,

5 7779


Post New Core Java Questions

Un-Answered Questions { Core Java }

Where is core java used?

552


What is the difference between hashmap and hashtable in java?

539


How to sort an array from smallest to largest java?

517


Why you should not use singleton?

517


What is java virtual machine and how it is considered in context of java’s platform independent feature?

617






Is it possible to instantiate the abstract class?

516


Write a program in java to establish a connection between client and server?

485


What are parameters in a method?

565


How many ways can we create the string object?

514


What is tree in java?

466


Tell me a few examples of final classes defined in Java API?

544


What is early binding and late binding in java?

579


what is singleton class in java?

598


Difference between abstract and concrete class ?

566


What is r * in math?

526