Class | Tree | Index | Help
| AP® Computer Science Marine Biology Simulation
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## Interface Locatable

All Known Implementing Classes:
  Fish

public interface Locatable

AP® Computer Science Marine Biology Simulation:
`Locatable` is an interface that guarantees that an object knows its location and returns it when the `location` method is called.

The `Locatable` interface is copyright© 2002 College Entrance Examination Board (www.collegeboard.com).

Version:
  1 July 2002
See Also:
  `Location`

Method Summary
`Location` | `location()` Returns the location of this object.

Method Detail

### location

    public Location location()

  Returns the location of this object.
  Returns:
    the location of this object in the environment

Class | Tree | Index | Help
| AP® Computer Science Marine Biology Simulation
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright© 2002 College Entrance Examination Board