Skip to content

Romi58/project10_oop

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

project10_oops:

Object-Oriented Programming (OOP) with TypeScript

Overview

This project aims to demonstrate fundamental Object-Oriented Programming (OOP) principles using TypeScript. It includes basic implementations of classes, inheritance, encapsulation, and polymorphism.

Features

  • Classes: Implementation of classes to represent real-world entities.
  • Inheritance: Utilization of inheritance to establish hierarchical relationships.
  • Encapsulation: Demonstration of encapsulation through access modifiers.
  • Polymorphism: Examples of polymorphic behavior using method overriding.

Technologies Used

  • TypeScript: Primary language for implementing OOP concepts.
  • Node.js: Environment for executing TypeScript code.

Structure

  • src/: Contains TypeScript files for various OOP concepts.
  • index.ts: Entry point for demonstrating the implemented concepts.
  • README.md: Instructions for setting up and running the project.

Usage

  1. Clone the repository:
    git clone https://github.com/your-username/oop-typescript.git
  2. Navigate to the project directory:
    cd oop-typescript
  3. Install dependencies (if any):
    npm install
  4. Compile TypeScript files:
    npm run build
  5. Run the project:
    npm start

Contribution

Contributions are welcome! Feel free to fork the repository, create a new branch, and submit a pull request for any improvements or additional features.

License

This project is licensed under the MIT License - see the LICENSE file for details

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors