Showing 0-0 of 0 results
# Exercise Title Features Description Platform Keywords
1 Preconditions for Sentence constructor Code Completion The constructor of the Sentence class below makes assumptions about the text parameter: CodeCheck Designing Classes
2 Swap values by using an array Code Completion A Java method cannot update primitive type parameters. For example, the following method does not work as intended: CodeCheck Designing Classes
3 Reimplement Vehicle class to increase cohesion Code Completion Consider the Vehicle class below. CodeCheck Designing Classes
4 Static field to maintain the total value of Coin objects created Code Completion Add a private static variable to the Coin class that maintains the total value of all coins that were constructed.... CodeCheck Designing Classes
5 Static method for counting the number of times a character appears in a string Code Completion Supply a static method that counts the number of times that a specific character appears in a given string. For... CodeCheck Designing Classes
6 Introduce class to implement method that mutates value Code Completion A Java method cannot update primitive type parameters. For example, the following program cannot work as intended: CodeCheck Designing Classes
7 Reimplement Person class to increase cohesion Code Completion Consider the Person class below. CodeCheck Designing Classes
8 Static method for computing number of binary digits in n Code Completion Supply a static method that computes the number of binary digits in a given integer. For example, CodeCheck Designing Classes
9 Static field to count number of objects Code Completion Add a private static variable to the Coin class that counts the total number of coins that were constructed. Also... CodeCheck Designing Classes
10 Preconditions for SalaryBonus constructor Code Completion The constructor of the SalaryBonus class below makes the following assumptions; CodeCheck Designing Classes