Java J2EE Interview Questions
Questions Answers Views Company eMail

In method overloading ,if i change the return type to Long instead of INT,is the program execute

HCL,

6 10010

wat is class level lock and object level lock

HCL, Persistent,

3 21067

is it possible to add a object in a HASHMAP

HCL,

6 8087

why we cannot declare static variable inside a static method

4 8211

why using interface interface ?

1512

why use interface? if interface declear a method implement in class. why direct implement method in class

HCL,

1 1993

different between exception and error? explaim check and uncheck exception

4 6014

What is the difference between stateful and stateless session beans?

Tech Mahindra,

2 7010

Difference between interface and abstract class with ex.

Cognizant, Tech Mahindra,

4 8085

what is Thread priority?

Tech Mahindra, Wipro,

4 6590

Distinguish method overloading and overriding

Tech Mahindra,

2 4571

Distinguish method overloading and method overriding

Tech Mahindra,

4 5869

What is thread priority?

Tech Mahindra,

1 5028

how to search the pertical objects in a Collections

iGate,

3 5121

iam writing the contents to a excel through I/O i am putting first statement as WRITE and then READ(from excel) immediately..later user complains that he is not getting the date by using READ ..wat could be the situation

iGate,

3 4069


Un-Answered Questions { Java J2EE }

Which settings will be loaded if both hibernate.properties and hibernat.cf.xml files are present in the classpath?

176


Why we use struts over servlets?

526


What java is used for?

660


What are the 3 types of control structures?

531


what do you understand by synchronization? : Java thread

551






Can we create an object if a class doesn't have any constructor ( not even the default provided by constructor ) ?

555


How does a file store compare with a jdbc store? : BEA Weblogic

539


What are the differences between string, stringbuffer and stringbuilder?

528


Explain the OOPS concept in Realtime Scenarion ? Take example as CAR. Please explain indetail ?

2566


Explain what is sslpeer in ibm websphere mq?

476


What are the advantages of database connection pooling?

490


What is loop in java?

535


What is the difference between load() and get() method in hibernate?

185


What do you mean by dependency injection and how does it work?

169


What is consumer in java?

526