What will exactly happen when using static method using that class instance?
in build level and run time.
Thanks in advance.
Update:
There are two classes, class one has a method, and the second one uses that method and after some time that method got changed to static. while running, I get IncompatibleClassChangeError.
If you call a static method from a class instance, it is identical to calling it in the standard static fashion (i.e. from the class name.) The compiler is smart enough to know to make the static call.