O'Reilly Forums: Chapter 1 Virtual Inheritance Question - O'Reilly Forums

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Chapter 1 Virtual Inheritance Question

#1 User is offline   tomarone 

  • New Member
  • Pip
  • Group: Members
  • Posts: 1
  • Joined: 24-November 12

Posted 24 November 2012 - 07:48 AM

I am just starting the book so sorry if my question is not relevant.
At the start of chapter 1, the problem would be solved in C++ using a virtual function for fly() that in the base class has no implementation, is only coded in sub classes, or the base class has a default that does not fly.
Is this not relevant for Java?
Thanks, great book!
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users