Greeter

class Greeter(val name: String)(source)

This class supports greeting people by name.

Constructors

Link copied to clipboard
constructor(name: String)

Properties

Link copied to clipboard

The name of the person to be greeted.

Functions

Link copied to clipboard
fun greet()

Prints the greeting to the standard output.