go to home page   go to next page

revised: 10/09/98, 09/04/99, 01/20/00, 01/18/06, 07/12/14

CHAPTER 28 — Parameters in Method Calls

Chapter Topics:

Often when you use a method, you supply it with some information in the form of parameters. This chapter discusses method calls and parameters.


After the following statements have executed,

String str = new String("alphabet soup");
int    len = str.length();

what value is in the variable len?