Home > Articles

  • Print
  • + Share This
This chapter is from the book


  1. A JSP declaration element is good for declaring data and methods—anything else?

  2. Yes, as you'll see in Day 8, you can also declare Java classes in a JSP declaration element.

  3. Can a method return multiple values?

  4. Some languages like Perl let you return multiple values from a method. In Java, you can do that by returning an array, or by creating a custom object that holds the data values you want, but you can't return multiple single values from a method in Java.

  • + Share This
  • 🔖 Save To Your Account