Solved

Given the Following Class Definition, Which of the Following Are

Question 13

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:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions

Unlock this Answer For Free Now!

View this answer and more for free by performing one of the following actions

qr-code

Scan the QR code to install the App and get 2 free unlocks

upload documents

Unlock quizzes for free by uploading documents