It said that invoke-virtual
is invoking the virtual method, while invoke-direct
is the direct method.
However I'm not clear what is "virtual method" and what is "direct method"?
In other words, what kind of method invoking will be invoke-virtual
and what kind will be invoke-direct
?
Can anyone give some concrete example?