代码搜索:Exercise
找到约 10,000 项符合「Exercise」的源代码
代码结果 10,000
www.eeworm.com/read/344238/11897654
java ex19.java
// innerclasses/Ex19.java
// TIJ4 Chapter Innerclasses, Exercise 19, page 366
/* Create a class containing an inner class that itself contains an inner
* class. Repeat this using nested classes. No
www.eeworm.com/read/344238/11897669
java airplane.java
// reusing/Airplane.java
// TIJ4, Chapter Reusing, Exercise 1, page 241
/* Create a simple class. Inside a second class, define a reference to an object of
* the first class. Use lazy initializatio
www.eeworm.com/read/344238/11897672
java car.java
// reusing/Car.java
// TIJ4 Chapter Reusing, Exercise 14, page 258
// In Car.java add a service() method to Engine and call this method in main().
class Engine {
public void start() {}
public
www.eeworm.com/read/344238/11897686
java stem.java
// reusing/Stem.java
// TIJ4 Chapter Reusing, Exercise 9, page 246
/* Create a class called Root that contains an instance of each of the classes
* (that you also create) named Component1, Componen
www.eeworm.com/read/344238/11897725
java sterilizer.java
// reusing/Sterilizer.java
// TIJ4 Chapter Reusing, Exercise 2, page 243
/* Inherit a new class from class Detergent. Override scrub() and add a new method
* called sterilize().
*/
import static
www.eeworm.com/read/344238/11897742
java doctest.java
// object.DocTest.java
// TIJ4 Chapter Object, Exercise 12, page 90
/* Find the code for the second version of HelloDate.java, which is the simple
* comment documentation example. Execute Javadoc o
www.eeworm.com/read/344238/11897814
java ex4.java
// interfaces/Ex4.java
// TIJ4 Chapter Interfaces, Exercise 4, page 315
/* Create an abstract class with no methods. Derive a class and add a method.
* Create a static method that takes a reference
www.eeworm.com/read/344238/11897835
java ex2.java
// interfaces/Ex2.java
// TIJ4 Chapter Interfaces, Exercise 2, page 315
// Create a class as abstract without including any abstract methods, and verify
// that you cannot create any instances of t
www.eeworm.com/read/344238/11897842
java testex5.java
// interfaces.TestEx5.java
// TIJ4 Chapter Interfaces, Exercise 5, page 320
// Create an interface containing three methods, in its own package. Implement it
// in another package.
/* Solution inc
www.eeworm.com/read/344238/11897880
java uniquewords21.java
// holding/UniqueWords21.java
// TIJ4 Chapter Holding, Exercise 21, page422
/* Using a Map, follow the form of UniqueWords.java to create a
* program that counts the occurrence of w