代码搜索:Exercise
找到约 10,000 项符合「Exercise」的源代码
代码结果 10,000
www.eeworm.com/read/313151/13595268
java device.java
// reusing/Device.java
// TIJ4. Chapter Reusing, Exercise 15, page 260
/* Create a class inside a package. Your class should contain a protected
* method. Outside of the package, try to call the pr
www.eeworm.com/read/313151/13595276
java chess.java
// reusing/Chess.java
// TIJ3 Chapter Reusing, Exercise 6, page 246
/* Using Chess.java, prove the statements in the previous paragraph. (If you
* don't call the base class constructor in BoardGame
www.eeworm.com/read/313151/13595277
java e.java
// reusing/E.java
// TIJ4 Chapter Reusing, Exercise 4, page 245
/* Prove that base-class constructors are (a) always called and (b) called before
* derived-class constructors.
*/
import static
www.eeworm.com/read/313151/13595278
java detergentdelegation.java
// reusing/DetergentDelegation.java
// TIJ4 Chapter Reusing, Exercise 11, page 248
// Modify Detergent.java so that is uses delegation.
import static net.mindview.util.Print.*;
class Cleanser {
www.eeworm.com/read/313151/13595286
java scarab.java
// reusing/Scarab.java
// TIJ4 Chapter Reusing, Exercise 24, page 274
/* In Beetle.java, inherit a specific type beetle from class Beetle, following
* the same format as the existing classes. Trace
www.eeworm.com/read/313151/13595302
java dogtest.java
// operators/DogTest.java
// TIJ4 Chapter Operators, Exercise 5, page 105
/* Create a class called Dog containing two Strings: name and says.
* In main(), create two dog objects with names "spot" (
www.eeworm.com/read/313151/13595304
java ex6.java
// innerclasses/Ex6.java
// TIJ4 Chapter Innerclasses, Exercise 6, page 353
/* Create an interface with at least one method, in its own package. Create
* a class in a separate package. Add a protec
www.eeworm.com/read/313151/13595309
java ex15(1).java
// innerclasses/Ex15.java
// TIJ4 Chapter Innerclasses, Exercise 15, page361
/* Create a class with a non-default constructor and no default constructor.
* Create a second class that has a method t
www.eeworm.com/read/313151/13595326
java outer8.java
// innerclasses/Outer8.java
// TIJ4 Chapter Innerclasses, Exercise 8, page 354
/* Determine whether an outer class has access to the private elements of
* its inner class.
*/
class Outer8 {
www.eeworm.com/read/313151/13595336
java testregularexpression11.java
// strings/TestRegularExpression11.java
// TIJ4 Chapter Strings, Exercise 11, page 533
/* Apply the regular expression:
* (?i)((^[aeiou])|(\s+[aeiou]))\W+?[aeiou]\b
* to
* "Arline ate eight ap