Scala – Enumeration

  • date 29th December, 2020 |
  • by Prwatech |
  • 0 Comments

An enumerations is meant for representing a group of named constants in Scala Refer for information on enumerations.

Run the following program for reference:

OUTPUT:

0
0

Quick Support

image image