"Hi, Amigo!"

18
Task
Java Multithreading, level 10, lesson 6
Locked
Fork/Join
1. Create a BinaryRepresentationTask class. To do this, click Alt+Enter -> Create Class... on the red class name in IntelliJ IDEA. (The class must inherit RecursiveTask). The constructor's parameter is int x. 2. Implement the compute method: the number should be converted to binary.
9
Task
Java Multithreading, level 10, lesson 6
Locked
Such tricky exceptions!
Fix the implementation of the checkAFlag method so that it never throws exceptions. Preserve the screen output logic. The main method is not tested.
18
Task
Java Multithreading, level 10, lesson 6
Locked
Bit operations
You must implement a public int resetLowerBits(int number) method. It should clear all the bits in the number argument, except the highest bit set to one, and then return this number. An int is 4 bytes = 32 bits.