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 4647

Is Struts Action class Thread Safe?

Wipro,

14 49829

Why operator overloading is not in Java?

1543

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

2 4850

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

HCL,

1 3741

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

4 5364

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

ADP,

2 7965

What is JIT ?

Satyam,

4 8046

How to implement or use the singleton class in java?

3 6852

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

CTS,

5 8041

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

5 9518

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 10533

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

4 4797

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

5 5512

can u override the start() method of Thread class

5 18494


Un-Answered Questions { Java J2EE }

What are the advantage of swing over awt?

493


What is java swing application?

522


Mention what is asymmetric clustering in web-sphere?

485


What is yml file in spring boot? : Spring Boot

156


What is jdbc odbc?

512






What is a singleton puppy?

520


Explain the use of shift operator in java. Can you give some examples?

531


Which graphs are functions?

488


Can we use string in the switch case?

567


Variable of the boolean type is automatically initialized as?

584


What are the jdbc drivers in java?

517


What is square root in java?

582


Explain yield() method in thread class ?

608


Why hibernate is used?

181


Difference between sorted and ordered collection in hibernate?

170