Visual Basic Programming: Inheritance and Polymorphism

所在平台: Coursera

课程主页: https://www.coursera.org/learn/visual-basic-inheritance-polymorphism

课程评论:没有评论

第一个写评论        关注课程

课程简介

课程名称:Visual Basic 编程:继承与多态 课程概述:本课程是系列课程中的第三部分,旨在为您准备程序员角色。在本课程中,您将学习编程的四个主要概念:高级字符串操作和日期、建模类、类和集合的发展。实验室将让学生将讲座中所学应用于简单的计算机程序,以巩固课程内容。学习者需要拥有一台本地计算机,操作系统为 Windows 7 SP1 或更高版本、macOS 10.1.13 或更高版本,或最近几年的任何版本的 Linux。学习者还需要下载 Visual Studio 的免费社区版或开源的 .NET Core 安装。 课程大纲: 1. 文件输入和输出 - 描述:本模块探讨如何将数据持久化到文件中,以便在程序单次执行之后仍然存在。我们将学习如何以文本和二进制格式将数据写入文件,以及如何将这些数据读回到正在执行的程序状态中。 2. 继承 - 描述:本模块探讨如何通过继承实现我们在 UML 图中建模的 is-a 关系。继承提供了在分类中抽象代码的额外方法,基本类与其专门版本共享代码。我们还将讨论异常在 Visual Basic 中如何工作。 3. 多态 - 描述:本模块扩展我们对 is-a 关系的实现,使我们的代码能够在不知道专门化的具体细节的情况下处理类的专门化。这种抽象水平被称为多态。多态提供了额外的方式来在分类中对对象进行抽象操作。 4. 接口 - 描述:本模块继续深入研究 is-a 关系的实现。在早期的工作中,我们为抽象目的开发了分类。现在我们希望考虑一种情况,即一个类可能存在于多个分类中。这种抽象水平被称为现代编程中的接口。接口提供了签名,但不提供实现,以便我们可以对属于多个分类的对象使用多态。

课程大纲

Name:File Input and Output

Description:In this module, we look at how we can persist data to files so that it will exist beyond a single execution of a program. We will look at how we can write data to files in both text and binary formats. We follow-up with ways to read that data back into the state of an executing program.

Name:Inheritance

Description:In this module, we look at how to implement the is-a relationships we modeled earlier in our UML diagrams through the use of Inheritance. Inheritance provides additional ways to abstract code in taxonomies where base classes share code with specialized versions of the classes. We will add a discussion about exceptions work in Visual Basic now that we can discuss inheritance.

Name:Polymorphism

Description:In this module, we extend our implementation of the is-a relationships so that our code can work with specializations of a class without knowing the specifics of the specialization. This level of abstraction is known as polymorphism. Polymorphism provides additional ways to abstract code to work on objects in a taxonomy.

Name:Interfaces

Description:In this module, we continue our deep dive into the implementation of the is-a relationships. In our early work, we developed taxonomies for the purposes of abstraction. Now we want to think about the situation where a class could be in several taxonomies. This level of abstraction is known as an interface in modern programming. Interfaces provide signatures but not implementation so that we can use Polymorphism on objects that fall in multiple taxonomies.

课程评论(0条)

课程详情

This course is the third course in a series that aims to prepare you for a role working as a programmer. In this course, you will be introduced to the four main concepts in programming: Advanced String Operations and Dates, Modeling Classes, Development of Classes and Collections. Labs will allow the students to apply the material in the lectures in simple computer programs designed to re-enforce the material in the lesson. Learners will need to have a local machine with any one of the following operating systems; Windows 7 SP1 or higher, macOS 10.1.13 or higher, or almost any version of Linux from the last several years. The learner will either need to download the free community edition of Visual Studio or the open source .NET Core installation.

课程标签

0人关注该课程

主题相关的课程