niranjan


{ City } vijayawada
< Country > india
* Profession * student
User No # 1362
Total Questions Posted # 0
Total Answers Posted # 113

Total Answers Posted for My Questions # 0
Total Views for My Questions # 0

Users Marked my Answers as Correct # 1381
Users Marked my Answers as Wrong # 347
Answers / { niranjan }

Question { 9409 }

What is a class ?


Answer

Class is a template for multiple objects with similar
features and is a blue print for objects.

Is This Answer Correct ?    3 Yes 0 No

Question { 5722 }

What is a super class and how super class be called?


Answer

super class is the class that is inherited.

Is This Answer Correct ?    0 Yes 2 No


Question { 4212 }

What is casting ?


Answer

casting is used to convert the value of one data type to
another.

Is This Answer Correct ?    6 Yes 0 No

Question { Prolific, 95552 }

What is static variable and static method?


Answer

static variables are classes variables not instance
variables .They are instantianted only once for a
class.They are initialised at class load time.
Static method can be referenced with the name of the name
of the particular object of that class. That's how the
library methods like System.out.println works.

Is This Answer Correct ?    268 Yes 54 No

Question { 4521 }

What is the functionality of Webserver?


Answer

WebServer provides services to web clients only.It
understands and supports only HTTP protocals.

Is This Answer Correct ?    0 Yes 0 No

Question { 11744 }

Relationship between an event-listener interface and an
event-adapter class?


Answer

Adapter class provides an empty implementation of all the
methods in the EventListener interface

Is This Answer Correct ?    13 Yes 10 No

Question { 9441 }

What modifiers can be used with a local inner class?


Answer

we can use final or abstract for a local inner class .

Is This Answer Correct ?    16 Yes 0 No

Question { 4473 }

Name the method of a Container that can be used to cause a
container to be laid out and redisplayed?


Answer

validate()

Is This Answer Correct ?    2 Yes 0 No

Question { 4650 }

What is the method used to get the absolute value of a
number?


Answer

abs() method

Is This Answer Correct ?    2 Yes 0 No

Question { 7295 }

Is it possible to send a mail from a servlet? Explain?


Answer

yes we can a mail through mailAPI

Is This Answer Correct ?    3 Yes 0 No

Question { 6150 }

What are the difference between HttpServlet and
GenericServlets?


Answer

The diff is that inGeneracicServlet we had to implement the
service()method the GenericServlets service() method is
declared as abstract.But the Generic Servlet is not
implementing keeping the HttpSErvers in mind. Methods we
have in this class are
init()
log()
service()
While implementing the HTTP Servlet the service() method is
already implemented .service()method of HTTP sevlet is
declared as protected.the HTTPServlet is implementing
keeping the HttpSErvers in mind. Methods we have in this
class are
doGet(),doDelete(),doPost()

Is This Answer Correct ?    3 Yes 6 No

Question { 6647 }

Can threads be used in Servelet?


Answer

yes

Is This Answer Correct ?    1 Yes 1 No

Question { 7192 }

How servlets can be automatically reloaded?


Answer

depends on the servlets reload properties.

Is This Answer Correct ?    0 Yes 4 No

Question { 9693 }

How multiple simultaneous requests can be handled by
servlets?


Answer

using Threads

Is This Answer Correct ?    2 Yes 0 No

Question { 6390 }

How threads are implemented in servlets?


Answer

internally the threads are implemented in servlets

Is This Answer Correct ?    2 Yes 2 No

Prev    1   2   3   4   5    [6]   7   8    Next