Core Java Interview Questions
Questions Answers Views Company eMail

when System.out.println("") is executed what happens in the back ground?

2 4359

why do we use interface in java?

5 8050

Urgent requirement of JAVA/.NET/QA in a CMMI level3 MNC for Pune location.

1896

when to for abstract class and when to go for interface

2 3726

how to print a numbers from 1 to 100 with out using control structures?

IBM,

4 5900

whats the difference between == and .equal ?

Cisco,

10 13416

what is meant by package in java?

5 9766

class A { private int i; } class B extends A { private int i; } if I create an object of B class what will be the memory of that object.

Yamaha,

2 7222

how to fing linkedlist is circular or not?

TCS,

1 2839

what is the main class of all the classes

Photon,

5 6000

what are the boundaries of jdk and jre?

CoreObjects,

1560

How will you measure that int takes up only 32 bits in memory?

Rolta,

2 4824

Map map = new HashMap(2); map.add(“1”,”one”); map.add(“2”,”two”); map.add(“3”,”three”); What will happen at this line?

Rolta,

5 13817

Write down program for following scenario. Use java coding standard. You have array list with some words in it..we will call it as dictionary….and you have a arbitrary string containing some chars in it. You have to go through each word of dictionary and find out if that word can be constructed with the help of chars from arbitrary string given. If you find the word print it else print none.

Rolta,

2286

Can we iterate through collection using for loop?

Rolta,

2 5202


Post New Core Java Questions

Un-Answered Questions { Core Java }

What is the finalize method do?

604


Why do we need singleton class?

551


how to create multithreaded program? Explain different ways of using thread? When a thread is created and started, what is its initial state? : Java thread

537


Where is jre installed?

594


Are functions objects in java?

545






What will happen if there is a default method conflict as mentioned above and we have specified the same signature method in the base class instead of overriding in the existing class ?

522


Is null == null in java?

654


Why arraylist is not synchronized in java example?

472


Why does abstract class have constructor?

562


Explain public static void main(string args[]).

569


Explain the use of sublass in a java program?

599


What are the characteristics of Final,Finally and Finalize keywords.

706


How does finally block differ from finalize() method?

589


What is a singleton class? Give a practical example of its usage.

593


How to convert string to char and vice versa?

520