«interface» «Abstract» Act Person TVSeries |- name : String getName( ): String getYear(): int Person( String ) + getName( ): String |+ getMorelnfo( ): String TheatreticalPlay Actor Movie - stageName :...


Write the source code of class Person, interface Act & class Movie. The getMoreInfo method of class Movie returns the imdb score of that movie in String such as (imdb: 6.3)


«interface»<br>«Abstract»<br>Act<br>Person<br>TVSeries<br>|- name : String<br>getName( ): String<br>getYear(): int<br>Person( String )<br>+ getName( ): String<br>|+ getMorelnfo( ): String<br>TheatreticalPlay<br>Actor<br>Movie<br>- stageName : String<br>|- acts[]: Act<br>+ Actor( name, stageName : String )<br>+ getStageName( ): String<br>+ setStageName( String )<br>+ addAct( anAct : Act)<br>+ toString( ): String<br>|- movieName : String<br>|- year: int<br>1- imdbScore : double<br>+ Movie( String, int )<br>+ getimdbScore( ): double<br>+ setimdbScore( double )<br>MainProgram<br>+ main( String[)<br>

Extracted text: «interface» «Abstract» Act Person TVSeries |- name : String getName( ): String getYear(): int Person( String ) + getName( ): String |+ getMorelnfo( ): String TheatreticalPlay Actor Movie - stageName : String |- acts[]: Act + Actor( name, stageName : String ) + getStageName( ): String + setStageName( String ) + addAct( anAct : Act) + toString( ): String |- movieName : String |- year: int 1- imdbScore : double + Movie( String, int ) + getimdbScore( ): double + setimdbScore( double ) MainProgram + main( String[)

Jun 10, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here