Java J2EE Interview Questions
Questions Answers Views Company eMail

when i write string s1="java"; in one program(application) and string s2="java"; in another application on the same jvm will both objects s2,s2 will refer to same memory location where "java" is stored in string pool.

2 4643

Is Struts Action class Thread Safe?

Wipro,

14 49805

Why operator overloading is not in Java?

1539

What is the difference between throw and throws? What is the similarity between try and throw?

2 4846

Is it possible to create Userdefined Unchecked Exception also?If Yes, give an example?

HCL,

1 3732

What is the need of "creating and throwing an UserdefinedException" when the "Exception" class is already available?

4 5356

Is it possible to create Userdefined Unchecked Exception also?If Yes, give an example?

ADP,

2 7961

What is JIT ?

Satyam,

4 8032

How to implement or use the singleton class in java?

3 6846

can we add two numbers without using arthematic operators? if possible how?

CTS,

5 8031

why the equals method can be override?when we override the equals method?

5 9510

why the wait,notify,notifyall methods are placed in object class?these are the thread concepts why these methods are placed in Object class?

Global Logic, Satyam,

2 10527

using equals method overriding which objects are compared?i.e same class objects or other class objects?Explain me.

4 4788

If set accepts only one argument then how can it compare two objects to avoid duplicates

5 5506

can u override the start() method of Thread class

5 18484


Un-Answered Questions { Java J2EE }

What is exception handling in java?

561


What are the advantages node manager?

563


What are the steps of struts installation?

559


Mention some of the advantages of using orm over jdbc.

141


What is fulfillment center?

493






Is binary a low level language?

484


What is the meaning of immutable regarding string?

508


What is downcasting?

555


What is the purpose of dispatcher result type?

545


What is flush () in java?

545


What is difference between jms and activemq?

466


What is entity bean?

577


What are best practices to follow while developing Struts2 application?

599


Why java is used everywhere?

582


What is joinpoint?

156