Java J2EE Interview Questions
Questions Answers Views Company eMail

What are legal modifiers that we can use to declare an inner class?

Infosys,

1 2569

What is difference between “==” and equals()?

IBM,

1 2376

Why do we need to override equals() and hascode() method of object class?

Cognizant,

1 2538

How to override equals() and hashCode() method in java?

Wipro,

1 2402

Are the equals() and hashCode() protected methods of object class?

Avaya,

1 2780

What are the uses of final, finally and finalize in java?

Agiline, FINO PayTech, HCL,

2 2935

Describe OOP in java?

Syntel,

2 3282

What is difference between overloading and overriding?

Accenture,

2 3949

Why do we need main method to execute a java program?

Virtusa,

1 3141

How do we make a class serialize?

Syntel,

3 3347

What is serialVersionUID and what is its need?

KPIT,

1 2871

What is deserialization and how do we do deserialization?

Synechron,

3 3585

What is difference between compatible and incompatible changes in serialization?

Synechron,

1 3432

What is Difference between Serializable and Externalizable in Java serialization?

Cognizant, IBM,

1 3327

What is an object in Java and what are its benefits?

IBM,

4 3855


Un-Answered Questions { Java J2EE }

What is the difference between the prefix and postfix forms of the ++ operator?

528


What is the use of default method in interface in java?

530


What is the difference between pass by reference and pass by pointer?

469


What is master catalog?

515


what is websphere edge server?

496






Explain importance of throws keyword in java?

541


What is the difference between a scrollbar and a jscrollpane ?

734


What is hash in java?

493


Explain about assignment statement?

567


How can the checkbox class be used to create a radio button?

483


Explain about the security features present in WAS?

438


How can you create jdbc statements?

514


What is dao in spring?

135


What means public static?

538


What exception should be thrown when servlet is not properly initialized?

537