reservations
Interface SeatPrice
- public interface SeatPrice
This is a marker/placeholder interface for an object
type that encapsulates some seat cost information. You
can implement this interface in just about any way you
would like.
|
Method Summary |
java.lang.String |
toString()
Returns a string indicating the cost of a particular
seat on a flight. |
toString
public java.lang.String toString()
- Returns a string indicating the cost of a particular
seat on a flight.
- Overrides:
toString in class java.lang.Object