Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...




Java J2EE Interview Questions
Questions Answers Views Company eMail

for(i=0;i<100;i++) { int i=method();//method returns no's from 1 to 10; /* insert some stmts which can give output like no.of times numbers(1-10) returned. (for example if it returns 2 then i want output how many times 2 returned) like that i want output for no's 1 - 10 how many times each no returned. */ }

3 5468

how come we know the object is no more used in the class?

Accenture,

2 6464

what is the use of StringBuffer?

Accenture,

2 6597

what value will be return by the read() method once it reaches the end-of-file? a. Throws EOException b. Return null c. Return -1 d. Read method return nothing, because it is void method

1 4417

An inner class can actually be a subclass of the outer class? a. true b. false

2 5502

which of the following authentication is stronger than the others? a. Http Basic b. Http DIGEST c. Form based

1 2956

which deployment descriptor element is used to configure the authentication method? a. auth-config b. login-config c. sec-config

1 4528

A user of a web application sees a jsessionid argument in the URL whenever a resource is accessed. What does this mean? a. The form must have the field jsessionid b. URL rewriting is used as the session method c. Cookies are used for managing sessions

2244

1) which method of the RequestDispatcher cannot be called once the output is sent to the client? a. forward b. include c. both a&b 2) which interface should an object implement to get notified of changes to the list of active sessions in a web application? a. HttpSessionListener b. HttpSessionActivationListener c. HttpSessionAttributeLIstener 3) A user can select multiple locations from a list box on an HTML form, which of the following methods can be used to retrieve all the selected location? a. getParameter() b. getParameterValues() c. getParamValues() 4) which of the following methods should be used to send character text to the client? a. ServletResponse.getWriter() b. ServletResponse.getOutputStream() c. ServletResponse.getOut() 5) which implicit object is always available in a JSP page? a. exception b. session c. out 6) which inclusion mechanism doesn't include the source of the page, rather the output of the page. a. include directive b. jsp:include action c. Bothe a& b 7) which attribute of the page controls whether a page participates in session or not? a. session-allowed b. session c. isSession

1 4247

can we change the order of parameters in execute()?

Polaris, Serco,

4 9748

why do we use logic tag library in struts?

Polaris,

1 5429

can we change the location of struts-config.xml file?

TCS,

2 11191

How many ways are available to ger RequestDispatcher object?

Polaris,

4 17405

WHAT IS MARKER INTERFACE,AND NO METHODS IS NOT THERE ON THAT INTERFACE THEN WHY WE USED IN JAVA?

L&T,

3 7711

Is it possible to do method overloading and overriding at a time

L&T,

3 9328


Un-Answered Questions { Java J2EE }

Difference between session and sessionfactory in hibernate?

434


How is the mvc design pattern used in struts framework?

956


What is a dot notation?

1028


What is generics in java interview questions?

1061


What is the difference between swing and applet?

1012


What is difference between hibernate and ibatis?

593


How to make updates to updatable result sets in jdbc?

904


What is command line used for?

1090


How to use string tokenizer class.

1199


What are disadvantages of java?

999


What are the struts2 configuration properties that control file uploading process?

1135


How to fetch data from database in spring mvc using hibernate?

505


What is aop in spring javatpoint?

488


What is unit work pattern?

405


What is jdbc thin client in oracle?

898