Start Here

Media Resources

File Conversion

Preparation for FatCat

For each of the following methods, answer these questions:

  • What is the method signature?
  • How could you call this method?
  • What is the visibility modifer for this method?
  • What is the return type?
  • What is the method name?
  • Does it have parameters? If so, what are their names and types?
  • What is the body of the method?
Method 1

act method.

Method 2

act method.

Method 3

act method.

Method 4

act method.

Method 5

act method.

Note: Technically the method signature does not include the visibility modifer or the return type (see Defining Methods from Oracle's Java Tutorials). In this course, the return type (and sometimes the visibility modifier) will be included with method signatures for clarity.