Rony Emrul

In Java, we can declare a method with the same signature as it’s parent class. In another word, it’s called method overriding. But when it comes to the static method we, in fact, can do the same but it’s not called method overriding but method hiding. As we all know…

--

--

While writing program there are times when we need to define a group of constants. In java, we can use Enum to define a group of constants. Enum came into the picture with JDK 1.5.

Features of enum

  1. It is a special data type like class and interface to define a group of…

--

--

Rony Emrul

Rony Emrul

Backend Software Engineer, Technology Enthusiast