which method you are overriding here? Is a nested static class can be overridden by non-static inner class?
None. The example does not demonstrate any overriding at all. Overriding means the overriding method in the subclass must have the same method signature with the overriden method in the parent class.
I took a look at the methods the example declare and found the following:
As you can see, there are no instances of matching signatures and thus no overriding at all.