• Skip to primary navigation
  • Skip to content
  • Skip to footer
Welcome to the development world of chp Welcome to the development world of chp
  • categories
  • tags
    chp

    chp

    99점이 100점이 되기 위해 일을 더하는 개발자

    • South Korea
    • Website
    • GitHub

    [Dart] 상속

    Updated: June 04, 2024

    less than 1 minute read

    개요

    • extends 사용


    예제

    • 코드
      • class Base {
          void func01() {
            print(1);
          }
               
          void func02() {
            print(2);
          }
        }
               
        class Derived extends Base {
          @override
          void func02() {
            print(3);
          }
        }
               
        void main() {
          Derived derived = Derived();
          derived.func01();
          derived.func02();
        }
        
    • 실행 결과
      • 1
        3
        

    Tags: Dart, inheritance, programming-language

    Categories: Dart, programming-language

    Updated: June 4, 2024

    Share on

    Twitter Facebook LinkedIn
    Previous Next

    You may also enjoy

    [database] PG Back Web

    1 minute read

    February 25 2025

    개요 GitHub 사용자 친화적인 웹 인터페이스로 손쉽게 PostgreSQL을 백업하는 툴 데이터의 보안과 가용성을 보장

    [database] DuckDB

    2 minute read

    February 24 2025

    개요 사이트 SQL(Structured Query Language)을 지원하는 RDBMS

    [Kubernetes] External Secrets Operator

    1 minute read

    February 19 2025

    개요 사이트 외부 비밀 관리 시스템을 통합하는 Kubernetes operator AWS Secrets Manager HashiCorp Vault Google Secrets Manager Azure Key Vault ...

    [messaging] Centrifugo

    4 minute read

    February 05 2025

    개요 사이트 오픈소스 실시간 메시징 서버 Centrifuge(Go) 라이브러리를 기반으로 구축 다양한 실시간 전송(WebSocket, HTTP-streaming, SSE/EventSource, WebTransport, GRPC)을 통해 연결된 애플리케이션 온라인 사...

    • Follow:
    • GitHub
    • Feed
    © 2025 chp. Powered by Jekyll & Minimal Mistakes.