Skip to content

A demonstration of OOP concepts in a security system.

Notifications You must be signed in to change notification settings

aaminaa01/security-security-

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Name: Aamina Binte Khurram
Assignment no. 1: Security System

The main class, SecuritySystem, extends 3 subclasses:
1) Sensors, which extends 8 subclasses of its own
2) Alarm
3) Lights

There exists an is-a relationship between:
objects of sensor class and security system class,
objects of alarm class and security system class, and
objects of lights class and security sytem class.

There exists a has-a relationship between:
objects of sensor subclasses and alarm class, and between
bjects of sensor subclasses and the lights class.

About

A demonstration of OOP concepts in a security system.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages