A bean with a property color is loaded using the following statement What happens when the following statement is executed. Select the one correct answer.

  1. This is incorrect syntax of 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 *.


Correct Option: C

Find more quizzes: