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 5663

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

Accenture,

3 6589

what is the use of StringBuffer?

Accenture,

2 6745

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 4535

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

2 5721

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

1 3057

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

1 4666

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

1 2325

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 4369

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

Polaris, Serco,

4 10043

why do we use logic tag library in struts?

Polaris,

1 5531

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

TCS,

2 11370

How many ways are available to ger RequestDispatcher object?

Polaris,

4 17601

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

L&T,

3 7929

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

L&T,

3 9530


Un-Answered Questions { Java J2EE }

Write a java program to find the route that connects between Red and Green Cells. General Rules for traversal 1. You can traverse from one cell to another vertically, horizontally or diagonally. 2. You cannot traverse through Black cells. 3. There should be only one Red and Green cell and at least one of each should be present. Otherwise the array is invalid. 4. You cannot revisit a cell that you have already traversed. 5. The maze need not be in the same as given in the above example

2657


i want test pattern of zylog company and some examples also

2855


Write a program to print count of empty strings in java 8?

1077


Can we return resultset in java?

985


What do you mean by an interface in java?

1095


What is a constructor overloading in java?

1119


How can you inject java collection in spring?

501


What is the difference between equals() and == in java?

1032


Is minecraft 1.15 out?

1034


explain different ways of using thread? : Java thread

1076


Differentiate between static and non-static methods in java.

1115


What is a classloader in java?

1080


What is the difference between filters and interceptors ?

1293


What do you know about validation plugin ?

1022


What is parsing in java?

1024