Saturday, April 23, 2011

Inheritance : c++ vs java

Inheritance is similar in Java and C++. Java uses the extends keyword instead of the : token. All inheritance in Java is public inheritance; there is no analog to the C++ features of private and protected inheritance.

No comments:

Post a Comment

Chitika