Showing 0-0 of 0 results
# Exercise Title Features Description Platform Keywords
1 Encapsulated Class Design Free Coding Problem Coding Question CodeWorkout class design, encapsulation, fields, methods, private, public
2 ClassSchedule with setDays and set times Code Completion A ClassSchedule class has been designed to represent a class that is scheduled at given days and times. Sometimes class... CodeCheck Classes
3 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
4 Reimplement Vehicle class to increase cohesion Code Completion Consider the Vehicle class below. CodeCheck Designing Classes
5 Reimplement Person class to increase cohesion Code Completion Consider the Person class below. CodeCheck Designing Classes
6 Using aggregation for modeling Square class Code Completion Intuitively, every square is a rectangle, so it is tempting to use inheritance for implementing a square: CodeCheck Object-Oriented Design
7 Using inheritance for modeling Square class Code Completion Intuitively, every square is a rectangle, so it is tempting to use inheritance for implementing a square: CodeCheck Object-Oriented Design
8 Preconditions for Sentence constructor Code Completion The constructor of the Sentence class below makes assumptions about the text parameter: CodeCheck Designing Classes
9 Preconditions for SalaryBonus constructor Code Completion The constructor of the SalaryBonus class below makes the following assumptions; CodeCheck Designing Classes
10 Collaborator classes Code Completion In some situations, a class needs the help of other classes to complete a task. These other classes are called... CodeCheck Object-Oriented Design
11 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
12 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
13 Using Aggegation Code Completion A team has players. Use aggregation to complete the class constructor and the listTeam and addPlayer methods of the Team... CodeCheck Object-Oriented Design
14 Add transfer to ATM Code Completion Add the capability of transferring money from the currently selected account to the other account from the same account holder... CodeCheck Object-Oriented Design
15 Add user interface for balance transfer Code Completion In this assignment, a transfer method has been added to the ATM class of section 12.5: CodeCheck Object-Oriented Design
16 Relationships between classes and interfaces Code Completion A stamp has a descriptive name, a face value, and an issuing country. Stamps have a measurable value (the face... CodeCheck Object-Oriented Design
17 Design IllegalNumberOfWheels Exception Code Completion The following Vehicle class throws a custom exception of type IllegalNumberOfWheels. Your task is to implement this exception class. The... CodeCheck Input and Output
18 (Inheritance) Physics teacher - CSEdPad Demonstrate the inheritance concept by creating a superclass Teacher with a private string features designation and collegeName and does function.... AnnEx inheritance