overriding the Static method ? SuperClass sc = new SubClass() ; sc.getMethod() ? // calling overrided static method , Which class method it will execute ?
Anonymous
It will execute Superclass method only, because method is declared as Static. and java will decide the method to execute at compile time only.
Check out your Company Bowl for anonymous work chats.