Category: Object Oriented Programming

One of the exceptions that every Java Programmer must have faced is NullPointerException. They are hard to debug and cause unexpected termination of your application. To better handle NullPointerException, Java 8 has introduced the Optional class. In this post, I’ll explain how to use Optional in Java applications. Optional Overview The main benefit of the […]Continue reading

Object-oriented hierarchy may seem like a simple concept to grasp, since there are so many examples in life to illustrate it. This is not completely wrong. The basic idea behind object-oriented programming is simple. However, the problem is that there are certain details, finesses and tricky situations, that may not be obvious but demand a […]Continue reading