Java J2EE Interview Questions
Questions Answers Views Company eMail

Advantages of Inheritance in java.

CybAge, HCL,

11 34549

What is the difference between RequestDispatcher and sendRedirect?-

CTS,

5 12061

where our package shoud be kept in the application whenwe want to import that package in the jsp application?

1 3635

what is the output??????? public class multireturn { public(int assign x ( int x) { if(4==x) { return 7; } else if (7=x+3) { return 6; } return 5; } }

TCS,

3 4696

What is Difference between JavaBeans and taglib directives?

3 11041

how a marker interface gets its functionality and when we implements a marker interface how it got invoked

Mind Tree,

3 10416

how to handle a singleton service locator. when multiple threads are trying to get the singleton object in same time

Mind Tree,

4 9519

program for RequestDispatcher in servlets?

Wipro,

3 8462

why we use main in java?

4 5936

java based application for hospital management

3441

How do we generate a digital certificate

2 4481

Explain JSP life cycle?

Accenture,

2 7005

Explain Stateful session bean life cycle?

Accenture,

2 7043

Can we define constructors in Servlet?

Accenture, Opus, Wipro,

3 14153

Can I override destroy() method of Servlets?

Accenture,

4 15160


Un-Answered Questions { Java J2EE }

What is the abstract class?

588


What’s the default was port?

506


Can a method be static?

517


What does three dots mean in java?

640


How do I restrict access to servlets and jsps? : BEA Weblogic

545






What are the three parts of a lambda expression? What is the type of lambda expression?

561


What is apache struts framework?

516


Which is better jpa or jdbc?

500


What is sar file?

463


What is detached entity in hibernate?

161


Explain the difference between criteria and criterion in hibernate?

148


What does @controller do in spring?

169


What are the modules of spring framework?

141


how many types of Inheritance?

638


When does the result for an sql statement return null?

508