Method name interchange - public abstract or abstract public

java

Solution

It's the same. Don't worry. Two similar declarations of `abstract` method.

Problem

I recently came across the following methods. I tried googling and did an example to see the difference by defining the methods as follows; both seems to be the same. But, i need to know if it's really the same ? ``` public abstract void methodName(); abstract public void methodName(); ``` Note: `public` and `abstract`has been interchanged in the above 2 methods.

Original source

Related problems