Bits & Bytes
.MP4, AVC, 1920x1080, 30 fps | English, AAC, 2 Ch | 3h 27m | 7.76 GB
Instructor: Dr Heinz M. Kabutz
.MP4, AVC, 1920x1080, 30 fps | English, AAC, 2 Ch | 3h 27m | 7.76 GB
Instructor: Dr Heinz M. Kabutz
Learn how Java supports bitwise arithmetic and where these tricks are used in the Java Development Kit (JDK)
In this course you will learn how to:
1. convert between different bases, such as octal, decimal, hexadecimal and binary.
2. do bitwise arithmetic with AND, OR, XOR and COMPLEMENT
3. shift bits left and right and what the difference is between unsigned and signed shift
4. print the internals of int and float.
5. negate a number using 2's complement and why Math.abs(n) might be negative
6. understand rounding errors and how represent decimal numbers in binary.
7. write a great hashCode() method in Java with the least number of bucket collisions.
8. compare BitSet with EnumSet and discover practical use cases in the JDK.