Snowflake

Classic programmed-learning exercises, refreshed for modern Java and presented in the current MrStyner.com portfolio style.

Modern Java noteThis archive has been refreshed for Java 25 LTS. Core language concepts remain useful, while outdated setup instructions and browser-era Java are labeled or replaced. Java 26 is the current feature release; Java 25 is used here as the stable teaching baseline.
go to previous page   go to home page   hear noise   go to next page

Answer:

Six.

Snowflake

Here is a drawing of a snowflake. It has six lines radiating from a center. This might do for a snowflake if it was one of hundreds in the background of a picture. But by itself it is not very interesting.

But it is easy to draw. Let us call this picture a "star".

QUESTION 10:

How can you improve the snowflake by re-using the star pattern?