Java J2EE Interview Questions
Questions Answers Views Company eMail

what is the difference between object and class

IBM,

10 9468

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

Wipro,

3 7964

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

Wipro,

11 17430

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

1961

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 5024

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 9780

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

TCS,

2 7177

What is difference between welogic server and WebSphere?

TCS,

2 8246

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

5 6205

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

2 4337

why do we use interface in java?

5 8019

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 10123

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

1890

when to for abstract class and when to go for interface

2 3698

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

IBM,

4 5856


Un-Answered Questions { Java J2EE }

Explain how can you debug the Java code?

584


Can I have two session factory in a single hibernate cfg xml?

305


How to find out free diskspace from command prompt?

528


Why use the bootstrap port number?

431


What is the use of singleton scope in spring?

155






What are jdbc and its components?

573


What is the difference between an argument and a parameter?

533


How would you relate the spring mvc framework to mvc architecture?

157


What is Hibernate Session and how to get it?

171


Which protocol will be used by browser and servlet to communicate

576


Explain the difference between criteria and criterion in hibernate?

148


what is an execution group?

493


How to write junit test cases for jms?

680


What is http redirect?

561


How do you identify independent and dependent variables?

499