Core Java Interview Questions
Questions Answers Views Company eMail

Can a class extend abstract class or interface? why

Wipro,

4 8214

What is the difference between Access Modifier and Access specifier?

1 6222

Is it possible to write method inside method

L&T,

4 9984

what is the default value of a variable char?(If not assigned)

4 5894

Write a java program to get a string of words and print the numbers of each word count in descending order

Logica CMG, Subex,

11 27518

Where can I find data structures question and answers with comprehensive working code written in Java

Amazon,

1952

if the memory capacity is 700 presently occupied by process is 690. then another process request space(40) how this situation handled in java.

Wipro,

4 5451

what is the logic inside any default constuctor?

2 3485

How TreeMap sorts the objects inside it?? suppose if have include one employee object and one car object. On what basis it will sort?

5 13106

Java is based on pass by reference or pass by value ..

L&T, Wipro,

6 8945

difference between arraylist and linkedlist otherthan performance

L&T,

2 9353

why pointer is not used in java?

3 10392

what are the difference between Java and .Net?

5 6670

can any body body expalin best definitions & best real time exaples for opps concepts.

Accel,

1819

What is map and hashmap? also tell the difference.

1 3564


Post New Core Java Questions

Un-Answered Questions { Core Java }

How can a gui component handle its own events in java programming?

515


What is externalizable?

601


What are the 2 types of java programs?

554


Write a java program to find the route that connects between Red and Green Cells. General Rules for traversal 1. You can traverse from one cell to another vertically, horizontally or diagonally. 2. You cannot traverse through Black cells. 3. There should be only one Red and Green cell and at least one of each should be present. Otherwise the array is invalid. 4. You cannot revisit a cell that you have already traversed. 5. The maze need not be in the same as given in the above example

2116


Difference between static binding and dynamic binding?

549






According to java operator precedence, which operator is considered to be with highest precedence?

587


What is bigger kb or mb?

573


What does exclamation mean in java?

557


What is the purpose of the file class in java programming?

516


What is difference between null and void?

518


Is arraylist ordered in java?

562


What is Recursion Function?

626


How many threads can I run java?

527


How do you compare two strings lexicographically?

528


What is the difference between actual and formal parameters?

496