Java Rumblings
Pages
Home
TOC
Spring
Core Java
Design Pattern
Concurrency
Hibernate
Garbage Collection
Exception
Books
Java API
Collections
Reflection
Class Loader
Annotation
Generics
Friday, 22 April 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
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment