Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within OCPJWCD
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Tim Cooke
Ron McLeod
paul wheaton
Jeanne Boyarsky
Sheriffs:
Paul Clapham
Devaka Cooray
Saloon Keepers:
Tim Holloway
Roland Mueller
Himai Minh
Bartenders:
Forum:
Web Component Certification (OCEJWCD)
Why HttpServlet is abstract ?
Ganesh.P Ram
Ranch Hand
Posts: 41
posted 19 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Any guesses as to why HttpServet class is abstract ?
None of the methods in the class are abstract. So why is the class abstract.
Is it bcos we shudnt instantiate the class ?
Ganesh
Steve Hicks
Greenhorn
Posts: 20
posted 19 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
I guess that HttpServlet class was made an abstract since it is not much use on it own.
You need to overwrite one method (normally doGet or doPost or both)
SCJP 1.4, SCWCD 1.4
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
interface is nothing but a pure abstract class. why interface does not has constructor
why java's Object class not abstract ?
about Class AbstractCollection
HttpServlet class
Why a class declared as Abstract, cannot have any abstract method declaration?
More...