The Gateway to Computer Science Excellence
+2 votes
798 views

The Servlet Response interface enables a servlet to formulate a response for a client using the method

  1. void log(Exception e, String s)
  2. void destroy()
  3. int get ServerPort()
  4. void set ContextType(String Type)
in Object Oriented Programming by Veteran (105k points)
recategorized by | 798 views
0

I think it should be void setContentType(java.lang.String type)..Are you sure the D. option is correct and not misspelled?

+1
As per the official answer key none of the given options are correct for this question.

1 Answer

0 votes
void set ContextType(String Type)
by (15 points)
Quick search syntax
tags tag:apple
author user:martin
title title:apple
content content:apple
exclude -tag:apple
force match +apple
views views:100
score score:10
answers answers:2
is accepted isaccepted:true
is closed isclosed:true
50,737 questions
57,309 answers
198,336 comments
105,022 users