Java J2EE Interview Questions
Questions Answers Views Company eMail

Convert a binary search tree to a sorted doubly linked list inplace.

Amazon,

1 9225

why there are multiple catches for a try block.don't tell me that there can be multiple exception of a code segment that's why.tell me the real fact behind this.

4 7232

Which are thin and thicK wrapper Class's in Java?

1 7704

Hi, This is ravi i have a question like this i have string "UNDERSTAND" now i want to count the letters how many times it occures.i.e from the above string the out put should be like this U-1,N-2,D-2,E-1,R-1,S-1,T-1,A-1. how can i achieve this Thnaks in advance for your response ..

7 6307

Why do inner class cannot have static declaration except static nested class?

TCS, Wipro,

2 11368

What is the basically use of finally while we know it is always executed but why?

Oracle, TCS,

5 7630

Why can't we make jsp as a controller and action servlet in struts?

TCS, Wipro,

8 10202

What is the difference between error and exception and explain in simple words not whatever is given in the book.

7 10645

What is the differnence between String Buffer and String builder despite having knowledge that String builder is faster than String Buffer and last one is threadsafe.please tell another important difference.

IBM,

3 7731

What is the servletcontext listener and what is JspContext and page context pls tell in simple words.

IBM,

1 5562

define System.out.println(); what is the meaning!

Accenture,

19 35658

what is domian and how can it work ?

HCL,

6 11381

What is trouble shoot in weblogic

HCL, IBM,

5 16109

whats string ?

HCL,

10 9324

After compilation of java program we'll get .class code. If it's generated in OS Windows XP will it work on OS Linux? If yes why? If no why?

Aricent,

5 8130


Un-Answered Questions { Java J2EE }

What is eager fetch? : Spring Boot

160


What is an ejb context?

562


What is the use of object and class classes?

561


Explain public static void main(string args[]).

562


What are the modules of spring?

161






What is the major difference between servlet and applet?

537


Explain about oops concepts.

625


How do you invoke a method?

534


Explain which of the following methods releases the lock when yield(), join(),sleep(),wait(),notify(), notifyall() methods are executed?

605


What is the difference between stream and buffer?

510


Write an sql to find all records having all upper case alphanumeric characters in a field ?

526


How do you get length in java?

551


How to get the Database server details in java program?

571


difference between mqsc commands and control commands?

467


What do you mean by object?

538