previous | start | next

Self Check

  1. What are the implicit parameters, explicit parameters, and return values in the method call river.length()?
  2. What is the result of the call river.replace("p", "s")?
  3. What is the result of the call greeting.replace("World", "Dave").length()?
  4. How is the toUpperCase method defined in the String class?

previous | start | next