If you like my articles, sponsor me a coffee.
At the other end of the link I post some results of my other hobbies, like playing bass. It is worth checking it out ;)
Java example (with some Java 8 features) to print Pyramids.
If you want to get a random value from an Enum in Java, you can use the following code: You can define `Grades` like this: