Running on Java 21-ea+14-1161 (Preview)
Home of The JavaSpecialists' Newsletter

2.13 Trying Out the Shuffled Anagram List

Juppies 2 by Dr Heinz M. Kabutz

Time to try out our shuffled word list. The first time we run it, we start with the word "ocsnqeeutnyl". This is different to what our StaticWordList returned. Excellent, it seems to work. We try it again, this time we again get "ocsnqeeutnyl". Well, there is a possibility that we'd get the same word first twice in a row. That is how random works. It is unlikely, but possible. We try once more, and again we see that our first word is "ocsnqeeutnyl". Whilst possible, it is improbable that of all the words in our list, we would pick the same one each time. It looks like it is not as random as we had hoped.

Comments

When you load these comments, you'll be connected to Disqus. Privacy Statement.

Table of Contents

We hope you enjoyed this tutorial. If you did, you will also enjoy our courses. We suggest you start with Extreme Java - Advanced Java, followed by Extreme Java - Concurrency Performance for Java 8.



About the Author

Heinz Kabutz Java Conference Speaker

Java Champion, author of the Javaspecialists Newsletter, conference speaking regular... About Heinz

Superpack '23

Superpack '23 Our entire Java Specialists Training in one huge bundle more...

Free Java Book

Dynamic Proxies in Java Book
Java Training

We deliver relevant courses, by top Java developers to produce more resourceful and efficient programmers within their organisations.

Java Consulting

We can help make your Java application run faster and trouble-shoot concurrency and performance bugs...

Java Emergency?

If your system is down, we will review it for 15 minutes and give you our findings for just 1 € without any obligation.