o1.excursion

package o1.excursion

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.

Value parameters:
limit

the maximum number of people that can participate

name

the name of the excursion

final class testExcursion

Value members

Concrete methods

A small program that uses the class Excursion.

A small program that uses the class Excursion.