代码搜索:Exercise
找到约 10,000 项符合「Exercise」的源代码
代码结果 10,000
www.eeworm.com/read/352425/10553465
java outer1.java
// innerclasses/Outer1.java
// TIJ4 Chapter Innerclasses, Exercise 1, page 347
/* Write a class named Outer that contains an inner class named Innet.
* Add a method to Outer that returns an object
www.eeworm.com/read/352425/10553547
java ex18.java
// innerclasses/Ex18.java
// TIJ4 Chapter Innerclasses, Exercise 18, page 366
/* Create a class containing a nested class. In main(), create an instance of
* the nested class.
*/
public class E
www.eeworm.com/read/352425/10553554
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/352425/10553562
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/352425/10553565
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/352425/10553582
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/352425/10553625
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/352425/10553651
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/352425/10553706
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/352425/10553726
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