代码搜索:Exercise
找到约 10,000 项符合「Exercise」的源代码
代码结果 10,000
www.eeworm.com/read/313151/13595271
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/313151/13595275
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/313151/13595292
java rightshifttest2.java
// operators/RightShiftTest2.java
// TIJ4 Chapter Operator, Exercise 12, page 116
/* Start with a number that is all binary ones. Left shift it, then use the
* unsigned right-shift operator to rig
www.eeworm.com/read/313151/13595300
java printtest.java
//: operators/PrintTest.java
// TIJ4 Chapter Operators, Exercise 1, pager 94
// Write a program that uses the "short" and long form of print statement
import static net.mindview.util.Print.*;
im
www.eeworm.com/read/313151/13595301
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/313151/13595305
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/313151/13595328
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/313151/13595331
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/313151/13595333
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/313151/13595340
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