Inheritance (object-oriented programming)

Inheritance (object-oriented programming)

In object-oriented programming, inheritance is the mechanism of creating new classes based on existing ones, allowing for code reuse and extension. Inheritance allows a child class to inherit properties and behaviors from a parent class, but not constructors, destructors, overloaded operators, and friend functions. It is different from subtyping, as inheritance establishes a syntactic relationship while subtyping establishes an is-a relationship.

10 courses cover this concept

CSE 130: Programming Languages: Principles and Paradigms

UC San Diego

Winter 2017

UC San Diego's CSE 130 provides an overview of basic concepts and design trade-offs related to programming languages. The course covers a wide range of topics like scope, storage management, exceptions, and concurrency, through practical implementation.

No concepts data

+ 17 more concepts

CS 61A: Structure and Interpretation of Computer Programs

UC Berkeley

Fall 2022

A course that emphasizes software abstraction, equipping students with the skills to manage program complexity. Students will primarily use Python, with additional exposure to Scheme and SQL.

No concepts data

+ 32 more concepts

CS 61B: Data Structures

UC Berkeley

Fall 2022

CS 61B focuses on software efficiency from design and runtime perspectives. It covers object-oriented programming with Java, teaching data structures and various programming concepts. The course promotes hands-on learning with optional assignments.

No concepts data

+ 55 more concepts

CSE 333 Systems Programming

University of Washington

Summer 2022

This course provides an understanding of systems in computing, focusing on operating systems, networking, and C/C++ languages. Students learn about low-level data representation, memory management, system interactions, and efficient programming workflows. It delves into C++ idioms, network protocols, and concurrency. Prior knowledge of C programming and Linux tools is required.

No concepts data

+ 36 more concepts

CSCI 0112 - Computing Foundations: Program Organization

Brown University

Fall 2022

CSCI 0112 progresses from CSCI 0111, focusing on structuring programs for solving isolated subproblems. It delves into various algorithms, implementations from abstract descriptions, data organization methods, and program efficiency. Ethical considerations in software development are underscored. Topics include data structures, OOP, web APIs, machine learning, and more.

No concepts data

+ 25 more concepts

CICS 110: Foundations of Programming

The University of Massachusetts Amherst

Spring 2023

This course introduces computer programming and problem-solving. Students learn using a modern language, covering variables, data types, branching, functions, classes, and methods. Emphasis is on real-world problem translation, computational understanding, and debugging.

No concepts data

+ 30 more concepts

CS 88: Computational Structures in Data Science

UC Berkeley

Fall 2022

This course provides an introduction to computer science with an emphasis on functional programming, data abstraction, object-oriented programming, and program complexity. The course teaches foundational programming concepts primarily in Python.

No concepts data

+ 24 more concepts

CSE 142 Computer Programming I

University of Washington

Summer 2022

This introductory course teaches programming using Java. Students learn computational problem-solving techniques, functional decomposition, control structures, data abstraction, and code documentation. No prior programming experience is required.

No concepts data

+ 46 more concepts

CSE 143 Computer Programming II

University of Washington

Summer 2022

This course is a continuation of CSE 142, focusing on manipulating data, implementing data structures, and learning about algorithms in Java. It delves into abstract data types, recursion, inheritance, and more.

No concepts data

+ 34 more concepts

CSCI 0150: Introduction to Object-Oriented Programming and Computer Science

Brown University

Fall 2022

CS0150 introduces Computer Science via object-oriented design and programming using Java and JavaFX for creating interactive programs with GUIs. Concepts like data structures, algorithms, and computational efficiency are explored. Practical exercises include engaging programming assignments like Doodle Jump and Tetris. The course is designed for all, requiring no prior knowledge.

No concepts data

+ 19 more concepts