"Hi, Amigo!"

32
Task
Java Multithreading, level 8, lesson 4
Locked
Writing our own ThreadFactory
In the Solution class, create a public static AmigoThreadFactory class that implements the ThreadFactory interface. 1. The implementation of the interface's method must create and return a thread that: 1.1. is not a daemon, 1.2. has a normal priority level.
9
Task
Java Multithreading, level 8, lesson 4
Locked
ThreadLocalRandom
The Solution class will be used by threads. Implement all of the methods using the ThreadLocalRandom class. getRandomIntegerBetweenNumbers must return a random int between "from" and "to". getRandomDouble must return a random double.