A student has created a Song class. The class contains the f…

A student has created a Song class. The class contains the following variables. A String variable called artist to represent the artist name A String variable called title to represent the song title A String variable called album to represent the album title The object happyBirthday will be declared as type Song. Which of the following statements is true?

Consider the following methods, which appear in the same cla…

Consider the following methods, which appear in the same class. public void slope(int x1, int y1, int x2, int y2) { int xChange = x2 – x1; int yChange = y2 – y1; printFraction(yChange, xChange); }     public void printFraction(int numerator, int denominator) { System.out.print(numerator + “/” + denominator); } Assume that the method call slope(1, 2, 5, 10) appears in a method in the same class. What is printed as a result of the method call?