Is there any substitution for VIRTUAL FUNCTIONS (C++) in Java

Is there any substitution for VIRTUAL FUNCTIONS (C++) in Java ?May be some trick I don't know about?Thanks in advice.
[139 byte] By [vasilyicha] at [2007-9-28 16:15:19]
# 1
All methods are virtual in Java.
soren_baka at 2007-7-12 13:21:40 > top of Java-index,Other Topics,Patterns & OO Design...
# 2
I'm exposing my C++ ignorance here, but can you briefly describe what virtual functions are and what they allow you to do in C++?Jonathan House
jonathanhousea at 2007-7-12 13:21:40 > top of Java-index,Other Topics,Patterns & OO Design...
# 3
public && protected from Java are VIRTUAL FUNCTIONS from C++;PURE VIRTUAL FUNCTIONS from C++ could be abstract functions without body.
gusseva at 2007-7-12 13:21:40 > top of Java-index,Other Topics,Patterns & OO Design...
# 4
Well, guess one could say that final methods are not virtual (not sure if the JVM does optimize, i.e. no need for runtime locating the function)
cars001a at 2007-7-12 13:21:40 > top of Java-index,Other Topics,Patterns & OO Design...