Interface Locatable
- All Known Implementing Classes:
- Minnow
- 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
location
public Location location()
- Returns the location of this object.
- Returns:
- the location of this object in the environment
Copyright© 2002 College Entrance Examination Board