Answer :
The two print statement which would use the toString method correctly to print out information about the movie m are:
- System.out.println(toString()); 1.
- System.out.println(m.toString()); 1.
What is a method?
In Computer programming, a method can be defined as a block of executable code (sets of instruction) that are written and used by programmers to break down a given problem into small but manageable fragments (pieces).
This ultimately implies that, methods are typically written and used by programmers to break down any complex problem into simple and manageable fragments (pieces) such as in modern programming languages, which comprises several predefined methods.
In conclusion, the "System.out.println(toString());1" and "System.out.println(m.toString()); 1" calls the toString() function which then returns the string representation of the object movie.
Read more on print methods here: https://brainly.com/question/19594241
#SPJ1