Using OOP java / * * * The VideoTapeclass holds information about a single television programme recorded on a video tape and it is used in a video shop system. It holds the video tape details. * / Class VideoTape { String title; // the title of the programme String classification; // classification of the programme (comedy, drama, action, or romance) int time; // the running time of the programme in minutes } Please write methods to // Return the title of this video tape. …………. // Return the classification of this video tape. …………. // Set a new classification for this video tape. …………. /* Print the details of the video tape to the output terminal ………….. /* Set the access modifiers in above program and for the methods that you define
Using OOP java
/
*
*
* The VideoTapeclass holds information about a single television programme recorded on
a video tape and it is used in a video shop system. It holds the video tape details.
*
/
Class VideoTape
{ String title; // the title of the programme
String classification; // classification of the programme (comedy, drama, action, or
romance)
int time; // the running time of the programme in minutes
}
Please write methods to
// Return the title of this video tape.
………….
// Return the classification of this video tape.
………….
// Set a new classification for this video tape.
………….
/* Print the details of the video tape to the output terminal
…………..
/* Set the access modifiers in above program and for the methods that you define
Trending now
This is a popular solution!
Step by step
Solved in 2 steps with 3 images