Socket
Socket
Sign inDemoInstall

mubeen-oop-project

Package Overview
Dependencies
63
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    mubeen-oop-project

Welcome to the Personality Checker CLI to understand the concepts of OOP, a command-line interface designed to determine a student's personality based on a series of questions. This project showcases Object-Oriented Programming (OOP) principles with class


Version published
Maintainers
1
Created

Readme

Source

Personality Checker CLI

Welcome to the Personality Checker CLI, a command-line interface designed to determine a student's personality based on a series of questions. This project showcases Object-Oriented Programming (OOP) principles with classes like Person and Student.

Classes

1. Person

The Person class serves as the base class, containing properties and methods to handle personality-related functionalities.

2. Student

The Student class extends the Person class, introducing additional features to handle student-specific information. It includes properties like _name for storing the student's name, along with getters and setters for convenient access.

3. Main

The Main class handles the program logic, incorporating the 'inquirer' library for user input. It prompts the user with a personality preference question, creates an instance of the Person class, and displays the determined personality based on the user's response.

Usage

  1. Clone the repository: git clone https://github.com/mubeendev3/typescript-projects.git
  2. Change into the project directory: cd 09-OOPProject
  3. Install dependencies: npm install
  4. Run the Student Personality Quiz CLI: npx ts-node index.ts
  5. Follow the prompts to determine the student's personality.

How to Use

  1. Answer the personality preference question.
  2. View the determined personality.

Example

npx mubeen-oop-project

Issues

If you encounter any issues or have suggestions, please report them on the GitHub repository.

Follow Me:

🌐 Connect with Mubeen on LinkedIn
🐙 Explore Mubeen's projects on GitHub
📸 Follow Mubeen's creative journey on Instagram
🐦 Stay updated with Mubeen on Twitter
🎨 Discover Mubeen's design portfolio on Behance

Keywords

FAQs

Last updated on 02 Feb 2024

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc