代码搜索:Exercise
找到约 10,000 项符合「Exercise」的源代码
代码结果 10,000
www.eeworm.com/read/332899/12717851
java ex10.java
// polymorphism/Ex10.java
// TIJ4 Chapter Polymorphism, Exercise 10, page 290
/* Create a base class with two methods. In the first method, call the second
* method. Inherit a class and override th
www.eeworm.com/read/332899/12717893
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/332899/12717934
java ex15.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/332899/12717960
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/332899/12717983
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/332899/12717985
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/332899/12717989
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/332899/12718017
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/332899/12718097
java ex14.java
// interfaces/Ex14.java
// TIJ4 Chapter Interfaces, Exercise 14, page 330
/* Create three interfaces, each with two methods. Inherit a new interface
* that combines the three, adding a new method.
www.eeworm.com/read/332899/12718109
java games19.java
// interfaces/Games19.java
// TIJ4 Chapter Interfaces, Exercise 19, page 342
/* Create a framework using Factory Methods that performs both coin
* tossing and dice tossing.
*/
import java.util.*;