![]() THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND,ĮXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES Included in all copies or substantial portions of the Software. NONINFRINGEMENT.Exercise 5.2 The documentation contains the following sections: OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND BLUEJ EXERCISE SOLUTIONS SOFTWARE The programs can all be executed via BlueJ or the Terminal. Overall description of the class: its purpose and how to use it A brief summary of the fields A brief summary of the constructors A brief summary of the methods A detailed description of the fields A detailed description of the constructorsĮxercise 5.4 Yes: public boolean endsWith(String suffix) Exercise 5.5 Yes: public int length() Exercise 5.7 Signature: public String trim() Example: String trimmedText = im() Control characters are treated as whitespace: ".it trims all ASCII control characters as well" Exercise 5.8 add the line: input = im() to the start()-method of SupportSystem Exercise 5.9 add the line: input = input.toLowerCase() to the start()-method of SupportSystem Exercise 5.10 boolean Exercise 5.11 if(input. a) Yes, an abstract class can have concrete methods. Follow the instructions in the relevant ExerciseAnswers / README.txt for detailed instructions. That is just the way it is - if it couldn't have concrete methods it would almost be the same as a Java interface. If it could, it would not be possible to instantiate an object of that class.ī) No, a concrete class can not have abstract methods. Since this project consists of exercise solutions, the problem sets themselves act as documentaion. ![]() when we created (instantiated) the two Car objects, BlueJ opened a dialog box and. The problems solved are all from the end of chapter exercises in the. 3.5 we will have a look at a good solution for this exercise.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |