search
Log In
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
2 votes
1k 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
recategorized by
1k 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)
Answer:

Related questions

3 votes
2 answers
1
1.6k views
Which one of the following is correct? Java applets cannot be written in any programming language An applet is not a small program An applet can be run on its own Applets are embedded in another applications
asked Aug 1, 2016 in Object Oriented Programming jothee 1.6k views
2 votes
1 answer
2
867 views
In Java, when we implement an interface method, it must be declared as Private Protected Public Friend
asked Aug 1, 2016 in Object Oriented Programming jothee 867 views
0 votes
1 answer
3
96 views
Given the array of integers ‘array’ shown below: $\begin{array}{|c|c|c|c|c|c|c|c|c|c|} \hline 13 & 7 & 27 & 2 & 18 & 33 & 9 & 11 & 22 & 8 \\ \end{array}$ What is the output of the following JAVA statements? int[]p= new int [10]; int[]q= new int [10]; for ( int k=0; k<10; k++) p[k]= array [k]; q=p; p[4]=20; System.out.println(array[4]+":"+q[4]); $20:20$ $18:18$ $18:20$ $20:18$
asked Mar 24 in Object Oriented Programming jothee 96 views
2 votes
1 answer
4
1.4k views
It is possible to define a class within a class termed as nested class. There are __ types of nested classes 2 3 4 5
asked Aug 20, 2016 in Object Oriented Programming jothee 1.4k views
...