Java
July 18, 2023

Why Do We Use Getter and Setter Methods?

Encapsulation is defined as the process of hiding one or more attributes within a package. It is a fundamental principle of object-oriented programming languages. By regulating the access permissions of an object’s elements, it allows for more consistent and secure program writing. Using getter and setter methods instead of exposing the fields of a class […]

Java
July 18, 2023

New Features in Java 11

Java 11 includes many significant features and improvements. Here are some of them: HTTP Client: Java 11 provides HTTP 2.0 support, offering a faster and more efficient way to make HTTP requests. Thread Scheduler: Java 11 includes a better thread scheduler than Java 8, providing improved performance. Modularity: Java 11 comes with the Jigsaw project […]

Java
July 18, 2023

Java Serialization and Deserialization Operations

When Serialization was introduced to Java in 1997, it was known to be somewhat risky. Nowadays, there is no longer a need to use Serialization in new technologies. We will discuss the risks of Serialization at the end of our article. First, let’s define this process: Serialization refers to the process of converting our objects […]