Multiple Choice
Given the following class definition, which of the following are considered part of the class's public interface?
Public class CashRegister
{
Public static final double DIME_VALUE = 0.1;
Private static int objectCounter;
Public void updateDimes(int dimes) {. . .}
Private boolean updateCounter(int counter) {. . .}
}
A) objectCounter and updateCounter
B) DIME_VALUE and objectCounter
C) DIME_VALUE and updateDimes
D) updateDimes and updateCounter
Correct Answer:

Verified
Correct Answer:
Verified
Q90: Which of the following statements about classes
Q91: Which statement about instance variables is correct?<br>A)
Q92: Which of the following statements about encapsulation
Q93: Which of the following statements about constructors
Q94: Consider the following code snippet:<br>Public int getSalary(String
Q96: The this reference refers to _.<br>A) the
Q97: Given the following class:<br>Public class Coin<br>{<br>Private String
Q98: Consider the following code snippet:<br>Coin coin1 =
Q99: Consider the following code snippet:<br>Public class Employee<br>{<br>Private
Q100: Data required for an object's use are