Core Java Interview Questions
Questions Answers Views Company eMail

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

2 4333

why do we use interface in java?

5 8015

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

1888

when to for abstract class and when to go for interface

2 3696

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

IBM,

4 5849

whats the difference between == and .equal ?

Cisco,

10 13341

what is meant by package in java?

5 9728

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 7191

how to fing linkedlist is circular or not?

TCS,

1 2784

what is the main class of all the classes

Photon,

5 5938

what are the boundaries of jdk and jre?

CoreObjects,

1552

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

Rolta,

2 4805

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 13745

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,

2275

Can we iterate through collection using for loop?

Rolta,

2 5175


Post New Core Java Questions

Un-Answered Questions { Core Java }

What is join () in java?

522


Why string is a class?

538


What about interthread communication and how it takes place in java?

536


Why is an interface be able to extend more than one interface but a class can’t extend more than one class?

695


Do you need to import math in java?

555






Is static variable stored in heap?

501


What is hashtable and explain features of hashtable?

552


java Technical questions asked by JPMC

4563


What are the restrictions imposed by a Security Manager on Applets?.

2057


Can you make a constructor final in Java?

618


What is the difference between class & structure?

559


What are access specifiers available in java?

569


Is java util list serializable?

527


Can an interface be defined inside a class?

512


What is treeset in java?

532