Questions Related to technology

Multiple choice technology programming languages
  1. <jsp:setColor id="fruit" property="color" value="white"/>

  2. <jsp:setColor name="fruit" property="color" value="white"/>

  3. <jsp:setValue name="fruit" property="color" value="white"/>

  4. <jsp:setProperty name="fruit" property="color" value="white">

  5. <jsp:setProperty name="fruit" property="color" value="white"/>

Reveal answer Fill a bubble to check yourself
E Correct answer
Multiple choice technology programming languages
  1. This is incorrect syntax of <jsp:setProperty/> and will generate a compilation error. Either value or param must be defined.

  2. All the properties of the fruit bean are initialized to a value of null.

  3. All the properties of the fruit bean are assigned the values of input parameters of the JSP page that have the same name.

  4. All the properties of the fruit bean are initialized to a value of *.

Reveal answer Fill a bubble to check yourself
C Correct answer