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

go to home page   go to next page

CHAPTER 43 — 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?

go to home page   go to next page