• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

mock exam question

 
kiran kumar reddy
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Match the implicit variable on its corresponding type

Types.
1.javax.servlet.ServletContext
2.javax.servlet.http.HttpSession
3.javax.servlet.http.HttpServlet
4.javax.servlet.ServletResponse
5.javax.servlet.jsp.PageContext
6.java.lang.Throwable
7.javax.servlet.ServletConfig


Variables

a.session
b.config
c.application
d.exception


My answer to this question is 1-c, 2-a, 3-b, 4-b, 5-c, 6-d, 7-b
But doubt in 3,4 and 5.
Correct me.
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"kiran kumar reddy scjp",
Welcome to the ranch. You may not be aware of the ranch Naming Policy. Please read it carefully and change your name accordingly (obviously fake names are not allowed). Thank you.
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
And please quote your sources.
 
Seetharaman Venkatasamy
Ranch Hand
Posts: 5575
Eclipse IDE Java Windows XP
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by kiran kumar reddy scjp:
Types.
1.javax.servlet.ServletContext
2.javax.servlet.http.HttpSession
3.javax.servlet.http.HttpServlet
4.javax.servlet.ServletResponse
5.javax.servlet.jsp.PageContext
6.java.lang.Throwable
7.javax.servlet.ServletConfig




Variables

a.session----HttpSession
b.config-----ServletConfig
c.application-ServletContext
d.exception--Throwable
 
Anand Bhatt
Ranch Hand
Posts: 189
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Types Variables
a.session 2.javax.servlet.http.HttpSession
b.config 7.javax.servlet.ServletConfig
c.application 1:javax.servlet.ServletContext
d.exception 6.java.lang.Throwable
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic