Java Related Interview Questions
Questions Answers Views Company eMail

.while installing application server in silent mode, if it failed without creating any logs, how do you trouble shoot ?

CEBS, IBM,

2 9030

what is the difference between object and class

IBM,

10 9454

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

Wipro,

3 7948

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

Wipro,

11 17396

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

1951

What is Serialization?

HCL,

2 4210

How to implement Hash Map?

HCL,

2 5467

Difference between Abstract Class & Interface?

HCL, IBM,

4 5394

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 5013

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 9768

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

TCS,

2 7169

What is difference between welogic server and WebSphere?

TCS,

2 8232

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

5 6185

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

2 4327

why do we use interface in java?

5 8001


Un-Answered Questions { Java Related }

What interface is extended by awt event listeners?

581


What is orm in spring?

149


Is spring mvc a design pattern?

163


What is class??

743


What is meant by prallel gc and explain it?

536






What is the difference between encodeRedirectUrl and encodeURL?

593


Why do we need hibernate framework?

168


What is method with example?

563


What is Generic in java? Where can we write Generic ( class or method or objects or etc...)? with simple example? Thanks, Bose. Infosys 2 In which way does a Primitive data type is passed ? Sun- Microsystems 4 what is the use of declaring constructor as private? Sai- Softech 5 what is difference between global methods and local methods? 1 What is meant by class loader and how many types are there? Apple 1 what is meaning of JIT? 4 What is an abstract class? Wipro 5 what is filters and its use? Virtusa 2 why is multiple inheritance not allowed in java? Elementus-Technologies 7 Differences between jdk 1.4 and 1.5 Wipro 4 is JVM platform dependent or independent..? IBM 6 what is main purpose of abstract class? 5 what is difference between colection and collections? Tech-Mahindra 11 What error occurs if a try-catch-finally statement sequence does not have a catch clause? 2 Explain the difference between scrollbar and scrollpane? 1 Explain the differences between public, private, protected and static? 4 Explain the difference between getAppletInfo and getParameterInfo? 1 Is Cegonsoft Pvt.Ltd. a good Institute? 4 Why only one Class is public in one file? Explain in details. Thanks in Advance. 11 Which method will get invoked first in a stand alone application?

2310


Differentiate between nested and inner class in java.

533


What is n+1 select problem in hibernate?

161


How to display all the prime numbers between 1 and 100

489


What are types of resultset?

545


Define an applet in java?

619


what is an injection attack?

503