Java J2EE Interview Questions
Questions Answers Views Company eMail

what is mean by hasing and maping in java platform and advantage?

CTS,

1822

whats the difference between == and .equal ?

Cisco,

10 13341

what is meant by package in java?

5 9728

What is in Hibernate? How exactly inheritance of Object to Tables can be done? What is the benefits of discriminator?

AppLabs,

1 6605

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 7190

how to fing linkedlist is circular or not?

TCS,

1 2782

what is the main class of all the classes

Photon,

5 5937

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 4804

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 5173

Why Set interface contains unique elements, what internally implemented for this so that it contains unique elements?

Rolta, TCS,

1 7394

What will be the output of the program? public class Test { public static void main(String args[]) { ArrayList list = new ArrayList(); list.add("2"); list.add("3"); list.add("4"); list.add("5"); System.out.println("size :"+list.size()); for(int i=0;i

Rolta,

5 6905

JVM is platform independent or depeneded?

7 7547


Un-Answered Questions { Java J2EE }

What inheritance mapping strategies are available in hibernate?

192


What are the 3 different types of Groups?

464


What is meant by call by reference?

498


What is the need of hibernate tools when orm tools can be used?

194


What is difference between merge and saveorupdate in hibernate?

307






What is the purpose of static methods and variables?

523


What is jdbc connection string?

503


What is document?

515


Can we have more than one package statement in the source file?

632


Is Java a dying language?

562


Why convert an applet to an application?

610


What is an eror in java?

550


What is use of super keyword in java?

588


Name three subclasses of the component class?

604


What are the different session tracking techniques?

665