Java J2EE Interview Questions
Questions Answers Views Company eMail

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

Infosys,

1 2582

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

IBM,

1 2393

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

Cognizant,

1 2557

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

Wipro,

1 2422

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

Avaya,

1 2794

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

Agiline, FINO PayTech, HCL,

2 2951

Describe OOP in java?

Syntel,

2 3300

What is difference between overloading and overriding?

Accenture,

2 3968

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

Virtusa,

1 3161

How do we make a class serialize?

Syntel,

3 3365

What is serialVersionUID and what is its need?

KPIT,

1 2882

What is deserialization and how do we do deserialization?

Synechron,

3 3609

What is difference between compatible and incompatible changes in serialization?

Synechron,

1 3456

What is Difference between Serializable and Externalizable in Java serialization?

Cognizant, IBM,

1 3342

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

IBM,

4 3907


Un-Answered Questions { Java J2EE }

How to Set message priority levels?

977


What is the difference between normal report & matrix report?

553


Can private method static?

460


Why we use named query in hibernate?

184


What class allows you to read objects directly from a stream?

849






When should I use multicast subscribers? : BEA Weblogic

521


What are the restrictions imposed by a Security Manager on Applets?.

2051


What is entry set in java?

517


How do you invoke a servelt?

609


Write a program in java to establish a connection between client and server?

495


What is the use of @required annotation?

149


What are Normalization Rules? Define Normalization?

538


What is SingleThreadModel interface?

661


What is the declaration statement?

494


What is web.xml ?

542