So in Java there are many kinds of methods. I probably won’t even list half of them but I try to explain how different methods can be.
Continue reading “Types of Methods in Java”Tag: method
Is a Constructor a Method?
Why a constructor is not a method.
No, it’s not. In reflection both extend Executable
, but Constructor
does not extend Method
. It is a common misconception that constructors are methods and often asked about at job interviews.