代码搜索:Exercise
找到约 10,000 项符合「Exercise」的源代码
代码结果 10,000
www.eeworm.com/read/353439/10446378
java ex9(4).java
// containers/Ex9.java
// TIJ4 Chapter Containers, Exercise 9, page 827
// Use RandomGenerator.String to fill a TreeSet, but use alphabetic
// ordering. Print the TreeSet to verify the sort order.
www.eeworm.com/read/353439/10446465
java ex29(1).java
// generics/Ex29.java
// TIJ4 Chapter Generics, Exercise 29, page 694
/* Create a generic method that takes as an argument a Holder
www.eeworm.com/read/353439/10446512
java ex27(1).java
// generics/Ex27.java
// TIJ4 Chapter Generics, Exercise 27, page 680
// Show that covariancd doesn't work with Lists using Numbers and
// Integers, then introduce wildcards.
import java.util.*;
www.eeworm.com/read/353439/10446529
java genericcast33.java
// generics/GenericCast33.java
// TIJ4 Chapter Generics, Exercise 33, page 699
// Repair GenericCast.java using an ArrayList.
import java.util.*;
class VariableSizeStack {
private ArrayLis
www.eeworm.com/read/353439/10446545
java ex25(3).java
// generics/Ex25.java
// TIJ4 Chapter Generics, Exercise 25, page 677
/* Create two interfaces and a class that implements both. Create two
* generic methods, one whose argument parameter is bounde
www.eeworm.com/read/353439/10446602
java sweetshop7.java
// typeinfo/SweetShop7.java
// TIJ4 Chapter Typeinfo, Exercise 7, page 561
/* Modify SweetShop.java so that each type of object creation is controlled
* by a command-line argument. That is, if your
www.eeworm.com/read/353439/10446606
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/353439/10446609
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/353439/10446717
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/353439/10446734
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