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 9999

wat is class level lock and object level lock

HCL, Persistent,

3 21052

is it possible to add a object in a HASHMAP

HCL,

6 8070

why we cannot declare static variable inside a static method

4 8211

why using interface interface ?

1504

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

HCL,

1 1987

different between exception and error? explaim check and uncheck exception

4 6004

Difference between interface and abstract class with ex.

Cognizant, Tech Mahindra,

4 8067

what is Thread priority?

Tech Mahindra, Wipro,

4 6560

Distinguish method overloading and overriding

Tech Mahindra,

2 4558

Distinguish method overloading and method overriding

Tech Mahindra,

4 5847

What is thread priority?

Tech Mahindra,

1 5017

Why Over riding is Run Time Polymorphism?

Genpact,

3 14592

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

Mind Tree,

9 24743

What is onClassLoader in java?

Cap Gemini,

5 7864


Post New Core Java Questions

Un-Answered Questions { Core Java }

What is java util?

537


Difference between final and effectively final ? Why is effectively final even required ?

552


What about main() method in java ?

565


Explain about anonymous inner classes in java?

578


How do constructors use this() and super()?

542






How many types of literals are there in JAVA?

591


What is the difference between heap memory and stack memory?

613


Can we increase size of array?

562


What's the default access specifier for variables and methods of a class?

510


Can finally block be used without a catch?

540


Explain different forms of polymorphism?

650


Explain all java features with real time examples

1204


When do we use synchronized blocks and advantages of using synchronized blocks?

659


Is list ordered in java?

538


What is immutability in java?

600