用JAVA代码实现说明以下十个概念定义,希望大家大显身手呀!!!
敝人的家庭作业,就是用代码举例说明以下十个概念问题.
The Ten Big Definitions
• Object - A software package
• Method - An objects procedure
• Message- A signal from one object to another
• Class - A template to create objects
• Subclass- A special case of a class
• Instance - An objects other name
• Inheritance - A mechanism to use another objects innards
• Encapsulation- Data & methods Together
• Abstraction - Capturing behaviors & characteristics
• Polymorphism- Hiding alternative methods behind a
common interface
请各位多多支持呀,期待...