Given the following class definition, which of the following are NOT 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
Q4: Data required for an object's use are
Q5: Given the following class definition, which of
Q6: Which of the following statements about objects
Q7: You have created a Rocket class which
Q9: Which of the following statements about classes
Q10: You have created a Motorcycle class which
Q11: Which of the following statements about classes
Q12: Each object of a class has a
Q13: Given the following class definition, which of
Q77: Which of the following are considered members
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents