• Post Reply Bookmark Topic Watch Topic
  • New Topic

Implicit objects in java  RSS feed

 
raj chopra
Ranch Hand
Posts: 64
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I know this query is kind silly, but i need to clarify whether i am thinking right or wrong ?

question : "what are implicit objects in java" this question was asked in one of my interview i had.

i know implicit objects in jsp like request,response,session etc and bit further i did mention default constrors in class... but i felt my answer was not strong enough ..

Please let me know what am i missing .


Thanks in advance for your help
Raj
 
drac yang
Ranch Hand
Posts: 78
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i think if it's implicit objects in jsp, it's correct, implicit objects in java, it's kinda not accurate.
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13078
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Perhaps the answer they wanted was that you will always have "this" to refer to.

Bill
 
raj chopra
Ranch Hand
Posts: 64
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for your valuable answers.
 
surlac surlacovich
Ranch Hand
Posts: 296
Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It looks like it is a JavaEE Servlet/JSP related question.
"Those are objects which are already been placed in the scope by the servlet container, so that it's accessible by EL (Expression Language), such as the PageContext, HttpServletRequest#getParameter(), HttpServletRequest#getHeader() and so on." (C)
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!