代码搜索:Exercise
找到约 10,000 项符合「Exercise」的源代码
代码结果 10,000
www.eeworm.com/read/370596/9593185
java longvalues.java
// operators/LongValues.java
// TIJ4 Chapter Operaters, Exercise 8, page 109
// Show that hex and octal notations work with long values.
// Use Long.toBinaryString to display the results.
impor
www.eeworm.com/read/370596/9593198
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/370596/9593267
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/370596/9593277
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/370596/9593287
java replacing9.java
// strings/Replacing9.java
// TIJ4 Chapter Strings, Exercise 9, page 527
// Using the documentation for java.util.regex.Pattern as a resource,
// replace all the vowels in Splitting.knights with un
www.eeworm.com/read/370596/9593312
java jgrep16.java
// strings/JGrep16.java
// TIJ4 Chapter Strings, Exercise 16, page 546
/* Modify JGrep.java to accept a directory name or a file name as argument
* (if a directory is provided, search should includ
www.eeworm.com/read/370596/9593376
java enumex21.java
// initialization/EnumEx21.java
// TIJ4 Chapter Initialization, Exercise 21, page 207
/* Create an emun of the least-valuable six types of paper currency. Loop through
* the values() and print each
www.eeworm.com/read/370596/9593434
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 referenc
www.eeworm.com/read/370596/9593458
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/370596/9593468
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