title: Can you write virtual functions / methods in Java?
body: <p>Is it possible to write <em>virtual</em> methods in Java, as one would do in C++?</p>
  
  <p>Or, is there a proper Java approach which you can implement that produces similar behavior? Could I please have some examples?</p>