代码搜索:Exercise

找到约 10,000 项符合「Exercise」的源代码

代码结果 10,000
www.eeworm.com/read/430096/8766320

java ex8(5).java

// containers/Ex8.java // TIJ4 Chapter Containers, Exercise 8, page 821 /* Create a generic, singly linked list class called SList, which, to keep * things simple, does not implement the List inter
www.eeworm.com/read/430096/8766332

java ex7(3).java

// containers/Ex7.java // TIJ4 Chapter Containers, Exercise 7, page 820 /* Create both an ArrayList and a LinkedList, and fill each using the * Countries.names() generator. Print each list using a
www.eeworm.com/read/430096/8766336

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/430096/8766435

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/430096/8766484

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/430096/8766496

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/430096/8766515

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/430096/8766583

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/430096/8766587

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/430096/8766590

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