Answer: B. He forgot to get the filming permit.
A.
-HomeTaey
(ask anytime)
if I get it wrong, sorry
Answer:
There is not a reason for the two methods to be private unless you want to only allow objects of the class Rational to have access to these methods. Perhaps your professor has a particular reason for requiring it to be set up as such.
Explanation:
The use of the private space simply restricts access to either variables or methods contained within the space to the class object that is associated with the variable or methods.
The use of the public space allows the method or variable to be accessed from anywhere within the program.
Note, if using class inheritance, classes that inherit from the Rational class will not be able to access the private functions.
The formula that uses relative cell references is F18+F19/2.
A relative cell reference will adjust as a formula is copied because it is actually working by calculating what the formula is in relation to the cell where the formula is. For example, if you copied this formula down one row it would adjust to F19+F20/2. This is opposite of an absolute cell reference like you see in the first example. The cell will always reference cell A10, regardless of where it is copied to.