What is the difference between an Inner Class and a Sub-Class?
What is the difference between an Inner Class and a Sub-Class?
|
Inner classes are in the same file, whereas subclasses in another file maybe in another package.
Inner classes have the methods they want whereas the subclasses have the methods of their parent class. |
All times are GMT -7. The time now is 01:28 PM. |
Powered by vBulletin Copyright © 2020 vBulletin Solutions, Inc.