So I've searched hoping to find some sort of idea or way of going about it.
I have a base class named movie with instance variables of id, name, loaned and borrower. This movie class is then derived by two classes bluray and dvd. Basically long story short they are all built within a library class that i'm building. Within the movie type I want to create an enum variable named genre which holds the genre's that can be applied to the movie. However I am not sure how I go about inheriting this enum variable to the bluray and dvd class.
I've been told it can be done but if anyone can shed some light on how I go about this that'd be great!