Danh mục

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    
tailieu_vip

Hỗ trợ phí lưu trữ khi tải xuống: 26,000 VND Tải xuống file đầy đủ (66 trang) 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

Tài liệu được xem nhiều: