o1.excursion

package o1.excursion

Members list

Type members

Classlikes

class Excursion(val name: String, val limit: Int)

The class Excursion represents group trips that would-be participants need to sign up for in advance.

The class Excursion represents group trips that would-be participants need to sign up for in advance.

Parameters

limit

the maximum number of people that can participate

name

the name of the excursion

Attributes

Supertypes
class Object
trait Matchable
class Any
final class testExcursion

Attributes

Supertypes
class Object
trait Matchable
class Any

Value members

Concrete methods

A small program that uses the class Excursion.

A small program that uses the class Excursion.

Attributes