Core Java APIs

Hi, In this post, I will cover a some of the Core Java APIs (String, StringBuilder, Wrapper classes, and Date Time API) that we are responsible for Java 8 Programmer I exam. Immutability I think the first thing that we need to know is immutability. String class is immutable, meaning that the state of the

Read More

Java Exceptions

Hi, This section is about exception handling in Java. I will try to cover as much use cases as I can. The best way to learn exceptions is to play with different exception types, especially handling multiple exceptions, by yourself. We are responsible for following specific classes for Java 8 Programmer I exam: Error, Unchecked

Read More

Numeric Promotion

Hi all, In this post, we will cover numeric promotion in Java. Make sure that you know the bit-length of each primitive types before you proceed. 8-bit 16-bit 32-bit 64-bit byte short, char int, float long, double Assume that you add, subtract, multiple, or divide two primitive types. Should you care about the resulting data

Read More

Java Building Blocks

Hi, My first blog post is about OCA Java 8 Programmer I certification. I am going to post my notes chapter by chapter. Here is quick introduction.. Packages java.lang package is imported by default. Java primitive types There are 8 primitive types in Java: boolean, byte, short, int , long, float, double, and char. 8

Read More