Tag: programming languages

Questions Related to programming languages

  1. The id attribute must be defined for .

  2. The scope attribute must be defined for .

  3. The class attribute must be defined for .

  4. The must include either type or class attribute or both.


Correct Option: A,D

Which is the correct statement which will check only for errors?

  1. TYPRUN=COMPILE

  2. TYPRUN=ERRFREE

  3. TYPRUN=HOLD

  4. TYPRUN=SCAN


Correct Option: D
  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