Skip to content

Ezz08/Employee-OOP-Python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

Employee OOP Example

A simple Python program demonstrating Object-Oriented Programming (OOP) concepts using an Employee class.

Features

Instance attributes & methods: Each employee has name and position and can show their info.

Class attributes: employee_count keeps track of how many employees have been created.

Static methods: is_valid_position() validates positions without creating an instance.

Valid Positions

Manager

Cashier

Cook

Janitor

Purpose

This project is meant as a learning example for Python beginners to understand classes, instance methods, static methods, and class attributes.

Author

Ezz Fawzy

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages