代码搜索:Exercise
找到约 10,000 项符合「Exercise」的源代码
代码结果 10,000
www.eeworm.com/read/333003/12711735
java ex11(3).java
// typeinfo/Ex11.java
// TIJ4 Chapter Typeinfo, Exercise 11, page 582
// Add Gerbil to the typeinfo.pets library and modify all the examples
// in this chapter to adapt to this new class.
import t
www.eeworm.com/read/333003/12711740
java finder25.java
// typeinfo/Finder25.java
// TIJ4 Chapter Typeinfo, Exercise 25, page 613
/* Create a class containing private, protected and package-access methods.
* Write code to access these methods from outs
www.eeworm.com/read/333003/12711845
java frog17(1).java
// exceptions/Frog17.java
// TIJ4 Chapter Exceptions, Exercise 17, page 477
/* Modify pholymorphism/Frog.java so that it uses try-finally to
* guarantee proper cleanup, and show that this works ev
www.eeworm.com/read/333003/12711872
java ex9(1).java
// exceptions/Ex9.java
// TIJ4 Chapter Exceptions, Exercise 9, page 460
/* Create three new types of exceptions. Write a class with a method that
* throws all three. In main(), call the method but
www.eeworm.com/read/333003/12711882
java ex6(2).java
// exceptions/Ex6.java
// TIJ4 Chapter Exceptions, Exercise 6, page 456
/* Create two exception classes, each of which performs its own logging
* automtically. Demonstrate that these work.
*/
imp
www.eeworm.com/read/333003/12711915
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/333003/12712021
java ex2(3).java
// arrays/Ex2.java
// TIJ4 Chapter Arrays, Exercise 2, page 754
// Write a method that takes an int argument and returns an
// array of that size filled BerylliumSpheres.
import java.util.*;
imp
www.eeworm.com/read/333003/12712071
java ex19(3).java
// arrays/Ex19.java
// TIJ4 Chapter Arrays, Exercise 19, page 778
/* Create a class with an int field that's initialized from a constructor
* argument. Create two arrays of these objects, using ide
www.eeworm.com/read/333003/12712116
java cookiemonster.java
// access/cookie2/CookieMonster.java
// TIJ4 Chapter Access, Exercise 4, page 227
// Show that protected methods have package access but are not public.
/* In directory Cookie2:
* //access/cooki
www.eeworm.com/read/333003/12712137
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