Java J2EE Interview Questions
Questions Answers Views Company eMail

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

CTS,

1805

whats the difference between == and .equal ?

Cisco,

10 13289

what is meant by package in java?

5 9688

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

AppLabs,

1 6574

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 7148

how to fing linkedlist is circular or not?

TCS,

1 2761

what is the main class of all the classes

Photon,

5 5886

what are the boundaries of jdk and jre?

CoreObjects,

1539

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

Rolta,

2 4768

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 13680

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,

2263

Can we iterate through collection using for loop?

Rolta,

2 5146

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

Rolta, TCS,

1 7374

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 6841

JVM is platform independent or depeneded?

7 7497


Un-Answered Questions { Java J2EE }

Explain something about attribute?

445


What is the difference between maven and spring?

156


What is the use of servlet wrapper classes?

648


What is treeset and treemap in java?

549


What is thread start?

496






What is the difference between session bean and entity bean ?

465


What is a many-to-one association in hibernate?

181


What is the difference between static and global variables and also define what are volatile variables?

529


What is return keyword in java?

539


What is default exception handling in java?

547


What is bytecode in java ?

582


What is achieved through clustering?

505


List some important features of java 10 release?

495


what is function overloading in java?

669


What is considered an anti pattern?

503