Inheritance in Java: Computer Science 101 | Outlier.org

Описание к видео Inheritance in Java: Computer Science 101 | Outlier.org

Learn about inheritance in Java in this easy-to-understand Introduction. We’ll go over classes and inheritance in object-oriented design, including defining attributes and behavior, and considering overlapping classes.

As an associate teaching professor at Illinois Tech for over two decades, Professor Michael Lee has inspired an entire generation of computer science students. He is passionate about attracting more students of diverse backgrounds into the field of computer science and fostering a kinder, more inclusive future coded by the CS students of today.

00:00 Introduction to Object-Oriented Design and Class Design in Java
01:22 Designing a new class that overlaps with an existing class
02:39 Introduction to Unified Modeling Language (UML) and BankAccount class
03:49 Defining new classes by copying and pasting code is a bad idea
04:58 Copying code into new classes makes maintenance difficult.
06:07 Inheritance allows a class to derive attributes and behavior from another class.
07:39 BankAccount class can be specialized into CheckingAccount and SavingAccount classes using is-a relationship
09:01 BankAccount can be used as a base class to create a class hierarchy

This lesson is excerpted from Outlier’s Computer Science 1 course. Learn more about this course and check out our full catalog at https://www.outlier.org.

About @OutlierOrg :
Outlier.org (from the co-founder of MasterClass) has developed the world's best online, university-level courses, taught by some of the most celebrated educators in the world. Our courses employ engaging content and cutting-edge educational technology to create an immersive, student-friendly learning experience complete with transferable credits. Outlier is on a mission to make higher education more accessible, equitable, and affordable for everyone.

Комментарии

Информация по комментариям в разработке