ForNext
Only Do What Only You Can Do
126. static dispatch
Hyperpolyglot C++ Style Languages: C++, Objective C, Java, C# より (2012.05.08)
VBScript
JScript
Perl
PHP
Python
Ruby
PowerShell
Scala
F#
C
C++
dispatch static by default
C++Builder
VC++
C#
dispatch static by default; compiler error if same method defined in base and derived class and not marked virtual in base class
Java
declare as final, private, or static (i.e. make it a class method)
Objective-C
dispatch always dynamic