Java J2EE Interview Questions
Questions Answers Views Company eMail

what is the difference between object and class

IBM,

10 9478

diff b/w managed server and non managed server? can u briefly explain?

Wipro,

3 7973

what is command for find out the ip add and port no. of the machine in UNIX?

Wipro,

11 17457

when exactly should we use throws ,and wen exactly should we use the try and catch for exceptional handling

1964

There are 2 different ways to create an object. a)By using keyword "new" b)By using Class.forName ("className").newInstance(); What is the difference between these 2 methods.

3 5027

In cluster , the load balancing that simply redirect the client request to any available server in weblogic server cluster. Suppose assume we have 4 managed servers and one admin server. can we trace that request is going to which managed server in the cluster? is it possible to tell that request is going to which ipaddr/managed server?

Wipro,

3 9792

how this statement works..? public void service(HttpServletRequest request,HttpServletResponse response)

TCS,

2 7188

What is difference between welogic server and WebSphere?

TCS,

2 8256

Is it possible to create object with out its default constructor? if possible how? else not possible? justify

5 6220

when System.out.println("") is executed what happens in the back ground?

2 4343

why do we use interface in java?

5 8023

There are 2 classes . Class A and Class B. In Class A i declared a variable in private. if we can access this private variable in Class B. If yes means , how we can access ?

HCL, Itx Centrics, Virtusa,

7 10153

Urgent requirement of JAVA/.NET/QA in a CMMI level3 MNC for Pune location.

1892

when to for abstract class and when to go for interface

2 3706

how to print a numbers from 1 to 100 with out using control structures?

IBM,

4 5868


Un-Answered Questions { Java J2EE }

What is the purpose of action-mappings tag in struct-config.xml?

586


How can forward action be used to restrict a strut application to mvc?

517


What is the major advantage of external iteration over internal iteration?

612


Is assembly language a low level language?

491


What does void * mean?

529






Explain different types of wrapper classes in java?

595


What is passing parameters in java?

513


What is treeset and treemap in java?

576


How do you reverse a word in java?

525


What is CLOB and BLOB datatypes in JDBC?

557


How many sessionfactory and session objects are usually created?

165


What is difference between sorted collection and ordered collection, which one is better?

136


Can we override a variable in java?

543


What is step in spring batch?

155


How many steps are in orm?

201