TypeScript Classes Tutorial - TS for Beginners Lesson
Offered By: Dave Gray via YouTube
Course Description
Overview
Learn how to create and extend classes, implement interfaces, apply visibility modifiers, use static class members, and create getters and setters in TypeScript in this comprehensive tutorial. Explore basic class structures, visibility modifiers including private and protected members, and the definite assignment assertion operator. Discover how to compile and run TypeScript code, create subclasses using extends, implement interfaces, and utilize static class members. Master the use of getters and setters to control access to class properties. Gain practical knowledge through hands-on examples and explanations suitable for beginners in TypeScript programming.
Syllabus
Intro
Welcome
Starter Code
Basic Class
Larger Class
Visibility Modifiers
Definite Assignment Assertion Operator
Private & Protected Examples
Compiling & Running Code
Extends for Subclasses
Implements for Interfaces
Static Class Members
Getters & Setters
Optional: Assignments in the body of the constructor are not necessary at this point either. It is not an error if you choose to do so, but it is not required.
Taught by
Dave Gray
Related Courses
Introduction à la programmation orientée objet (en Java)École Polytechnique Fédérale de Lausanne via Coursera C++ For C Programmers, Part A
University of California, Santa Cruz via Coursera Introduction to Programming for Musicians and Digital Artists
California Institute of the Arts via Coursera Beginning Game Programming with C#
University of Colorado System via Coursera Paradigms of Computer Programming
Université catholique de Louvain via edX