You have defined a class named Invoice that contains two non…

You have defined a class named Invoice that contains two non-static private fields, invoiceNumber and amount. When you write a main() function and declare one Invoice object named anInvoice, you can display the object’s amount field with the statement ___________ .

You create a class named Car with private non-static data fi…

You create a class named Car with private non-static data fields named year, make, and price. The Car class contains a public non-static function named setYear() whose header is void Car::setYear(int year). Within this function, which statement correctly sets an object’s field to the value of the parameter? (Select all correct answers)