00:01
Hi, so in this question, we're creating a movie object that keeps track of name and rating.
00:08
So the first thing i did to make this class was include the private instance variables for name and rating, so we can save it later.
00:17
Next, i put in the constructor.
00:19
If you need to have constructor with parameters, then you would just make a string and a double input that you save as different variable names than the private instance variable.
00:32
And save those when you construct it.
00:34
Otherwise, you would just have an empty constructor, so no parameters, and then just set them to the empty string or a negative 1, some type of value that indicates that there's no data there yet.
00:52
Then for the next methods to get the name and set the name, then you just define a method, public string, get name, make sure you include the return type...