Bits&Bytes
Learn how Java supports bitwise arithmetic and where these tricks are used in the Java Development Kit (JDK)
"I have been teaching Java to professional programmers for over 19 years. During this time, I am constantly amazed how many programmers have moved over from other disciplines such as psychology, architecture, chemistry, accounting and even the military. Whilst fine programmers, they often miss some of the more fundamental education that a computer science major would have covered. I am hoping that this Bits & Bytes Course will help fill this gap and will result in a better tomorrow with programmers that are more able to understand what makes our world work. In the end, it's all just ones and zeros." - Dr Heinz M. Kabutz, Author of The Java Specialists Newsletter, Java Champion, JavaOne Rockstar Speaker, Computer Scientist, Teacher
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.
Bits&Bytes has 3 1/2 hours of lectures by renowned computer expert Dr Heinz Kabutz. Read what some of his readers had to say about his work:
Henri Tremblay - "I've been coding in Java since 1998. And still, everytime I read the Java Specialists Newsletter, I learn something."
Simon Ritter - "Heinz gives well researched clear explanations and guidance on many tricky aspects of Java. A goldmine of useful information!"
John Green - "I enjoyed this course even though I thought I knew everything I needed to know about bits and bytes. In fact, I thought that I probably didn't need to use low level knowledge like this in Java - that I could leave it to C programmers ;-) Instead, I've found not just that it is still very much in use by JDK developers, even code added to Java 9, but that I should probably read more on floating point numbers before I can consider my knowledge to be complete. The practical tips on hashing and bit sets will be useful for programming in future."
Are you ready to join our course?
Here are some more reasons
1. Ask questions in the course material and get a guaranteed response from the course author within three working days or your money back.
2. Simple no-nonsense 30-day money back guarantee, no questions asked.
3. Invite to private Facebook group with Heinz Kabutz and other students
Your Instructor
Heinz Kabutz is the author of The Java Specialists’ Newsletter, a publication enjoyed by tens of thousands of Java experts in over 150 countries. He has been a Java Champion since 2005.
Course Curriculum
-
Preview1. Welcome: Course Origin, Expected Outcomes, Who it is for, Code Samples (4:32)
-
Start2. What are bits, bytes and nibbles? (2:54)
-
Start3. How many bytes does each primitive type use in Java? (6:10)
-
Start4. Converting between base 10 (decimal) and base 5 (9:55)
-
Start5. Converting between decimal and binary (2:59)
-
Start6. Converting between binary and octal (5:21)
-
Start7. Converting between binary and hexadecimal (5:35)