Title Static field to maintain the total value of Coin objects created
Catalog Type SLCItem
Persistent ID https://codecheck.io/files/horstmann/codecheck-bj-4-class2-110
Platform Name CodeCheck
Features Code Completion
Description Add a private static variable to the Coin class that maintains the total value of all coins that were constructed. Also add a static method totalValue that returns the total value of all constructed coins.
Keywords Designing Classes
Author Cay Horstmann
Institution San José State University
Iframe URL https://codecheck.io/files/horstmann/codecheck-bj-4-class2-110
Protocol SPLICE, LTI 1.1
Protocol URL
License https://creativecommons.org/licenses/by-nc-nd/4.0/
Programming Language Java
Natural Language en

Preview

SPLICE Output