正在加载图片...
Access from the subclass methods r Only the private elements of the superclass are not accessible from its subclasses. All other types of elements are accessible my Sub Subclass Superclass accessible X inaccessible C 2000 McGraw-Hill troduction to Object-Oriented Programming with Java--Wu Chapter 14-9© 2000 McGraw-Hill Introduction to Object-Oriented Programming with Java--Wu Chapter 14 - 9 Access from the Subclass Methods Only the private elements of the superclass are not accessible from its subclasses. All other types of elements are accessible. mySub Subclass Superclass inaccessible accessible
<<向上翻页向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有