Core Java Interview Questions
Questions Answers Views Company eMail

There can be a abstract class without abstract methods, but what is the need to declare a class abstract if it doesn't contain abstract methods?

HCL,

5 7528

I was asked to draw the class diagram for the below scenario which should obey OOPS concept. A Portal is to be developed for a school , which has 3 main divisions viz , Education , Admin & Trust. Each division has 2 sub divisions Kinder Garden & Higer Secondary.

Amtek, Huawei,

3 11416

What is type casting?

2 4766

What is the java project architecture?

IBM,

1776

What Is Resource Leak?

2 4062

In which language JVM (Java Virtual Machine) is implemented

5 7490

Why we should declare the variables as static and final in interfaces?

1 4606

Can I have constructor in Interface?

2 15606

How can we create a object of a class without using new operator.

Infosys, Nokia,

1 6898

I dont want to use serialzable in java is there any another concept so plz tell me

WDC,

3 5472

explain the collection in java

WDC,

1 3840

How to implement Singleton

DELL,

6 7999

How does marker interface provides functionality to the implemented class ? or How dose maker interface gets the functionalities as serialization or cloning.

Cap Gemini,

4 7484

what is collections in java?

4 5016

how can i kill thread without stop() and destroy()

1 4708


Post New Core Java Questions

Un-Answered Questions { Core Java }

What are static variables and functions?

614


Explain the difference between hashmap and hashtable in java?

481


What is constructor and virtual function? Can we call a virtual function in a constructor?

670


take an array with -ve and +ve value both.find out the nearest value of 0(zero).if two values are same like(-2 and +2)then extract +2 is nearest of 0(zero).

1527


what is difference betweem home interface and remote interface?

2105






What is independent and dependent variables in research?

460


How static variable work in java?

586


Is java still relevant?

489


Is it possible to override the main method?

525


What checkbox method allows you to tell if a checkbox is checked?

529


What is the exact difference in between Unicast and Multicast object? Where will it be used?

576


Can we sort a map in java?

570


Why java is not 100% object-oriented?

819


Can we override protected method in java?

571


What is memory leak and how does java handle it?

513