Lecter Java: Program design - Chapter 9: Inheritance and polymorphism
Số trang: 66
Loại file: ppt
Dung lượng: 403.00 KB
Lượt xem: 11
Lượt tải: 0
Xem trước 7 trang đầu tiên của tài liệu này:
Thông tin tài liệu:
Inheritance and polymorphism are two powerful mechanisms of object-oriented languages. Inheritance is the ability to define a new class using an existing class as a basis. Polymorphism is a programming language behavior where the same code expression can invoke different methods depending on the type of objects using the code. In this chapter, we begin our introduction of these two mechanisms by extending the standard class Point.
Nội dung trích xuất từ tài liệu:
Lecter Java: Program design - Chapter 9: Inheritance and polymorphism
Nội dung trích xuất từ tài liệu:
Lecter Java: Program design - Chapter 9: Inheritance and polymorphism
Tìm kiếm theo từ khóa liên quan:
Program design Object-oriented design Object-oriented programming language Object-oriented terminology Inheritance nuances Data fieldsTài liệu liên quan:
-
Lecter Java: Program design - Chapter 6: Iteration
99 trang 66 0 0 -
ADVANCES AND APPLICATIONS IN MOBILE COMPUTING
236 trang 31 0 0 -
Lecture Software construction - Lab 7: Java programming with SWING GUI builder
12 trang 29 0 0 -
Lecture Software construction - Lecture 5: Class diagrams
25 trang 28 0 0 -
Hand book Software construction
254 trang 27 0 0 -
Lecture Software construction - Lecture 17: Threads
23 trang 26 0 0 -
Lecture Software construction - Lecture 6: Java implementation
41 trang 26 0 0 -
Lecture Software construction - Lecture 20: Software quality
13 trang 25 0 0 -
Lecture Software construction - Lecture 7: Java implementation
19 trang 24 0 0 -
Lecture Software construction - Lab 3: Classes and objects in java
25 trang 24 0 0