Build a Library

Congratulations, you’ve passed the grueling rigmarole of librarian school and have become head librarian at your local Books-‘N-Stuff.

(당신은 Books-'N-Stuff' 의 사서가 되었다.)

Just as you sit down, eager to utilize all those skills you learned in “Lib 203 - Shushing: How to Maintain Order While Spitting”, you realize you’re still using index cards to handle everything.

But no matter, you know some JavaScript, so let’s get to work modernizing your new digs.

Books-‘N-Stuff carries three different types of media: books, CDs, and movies. In this project you will create a parent class named Media with three subclasses: BookMovie, and CD. These three subclasses have the following properties and methods:

(Books-'N-Stuff 는 서적 ,CD 및 영화의 세 가지 유형의 미디어를 제공한다. 이 프로젝트에서 Media 세 개의 서브 클래스 Book, Movie, CD 를 작성한다.)

Book

Movie

CD