Tag: programming languages

Questions Related to programming languages

Multiple choice technology programming languages
  1. String x = (String) pageContext.getAttribute("foo");

  2. String x = (String) pageContext.getRequestScope("foo");

  3. It is NOT possible to access the pageContext object from within doStartTag.

  4. String x = (String)

Reveal answer Fill a bubble to check yourself
A Correct answer
Multiple choice technology programming languages
  1. The type List is assignable to List<A>.

  2. The type List<Object> is assignable to List<?>.

  3. The type List<D> is assignable to List<? extends B>.

  4. The type List<? extends B> is assignable to List<? extends A>.

  5. The type List<Object> is assignable to any List reference.

Reveal answer Fill a bubble to check yourself
B,C,D Correct answer
Multiple choice technology programming languages
  1. HttpSession

  2. ServletConfig

  3. ServletContext

  4. HttpServletRequest

  5. HttpServletResponse

Reveal answer Fill a bubble to check yourself
D Correct answer