Question: Java | answer all the questions 9. If a getter of a JavaBean returns a boolean value, then it must use the prefix is (a)

Java | answer all the questions

9. If a getter of a JavaBean returns a boolean value, then it must use the prefix is

(a) true

(b) false

10. Which of the following appears in both the JSP implicit objects and the EL implicit objects?

(a) param

(b) header

(c) session

(d) pageContext

11. There exists a JSP element in which an EL expression can be used?

(a) true

(b) false

12. Every time when a tag is processed, a new bean is created.

(a) true

(b) false

13. Suppose that book is the name of a parameter in an HTTP request. Then the expressions ${param.book} and ${paramValues.book[0]} always return the same value.

(a) true

(b) false

14. The first named variable in an EL expression can be the name of a local variable in a JSP scriptlet.

(a) true

(b) false

15. Suppose a Java class of concrete type has only one constructor with two parameters. Can we use this class as the value of the class attribute in the tag?

(a) yes

(b) no

16. In a JSP, a bean means a JavaBean object that follows the JavaBean specification.

(a) true

(b) false

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!