代码搜索:Exercise
找到约 10,000 项符合「Exercise」的源代码
代码结果 10,000
www.eeworm.com/read/392244/8355899
java ex9(3).java
// arrays//Ex9.java
// TIJ4 Chapter Arrays, Exercise 9, page 762
/* Create the classes necessary for the Peel example and
* show that the compiler doesn't accept it. Fix the problem
* usin
www.eeworm.com/read/392244/8355928
java sterilizer.java
// reusing/Sterilizer.java
// TIJ4 Chapter Reusing, Exercise 2, page 243
/* Inherit a new class from class Detergent. Override scrub() and add a new method
* called sterilize().
*/
import static
www.eeworm.com/read/392244/8355946
java ex8(4).java
// arrays//Ex8.java
// TIJ4 Chapter Arrays, Exercise 8, page 762
// Demonstrate the assertions in the previous paragraph.
class A {}
public class Ex8 {
@SuppressWarnings("unchecked")
T[
www.eeworm.com/read/392244/8355980
java airplane.java
// reusing/Airplane.java
// TIJ4, Chapter Reusing, Exercise 1, page 241
/* Create a simple class. Inside a second class, define a reference to an object of
* the first class. Use lazy initializati
www.eeworm.com/read/392244/8355983
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/392244/8355994
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/392244/8356040
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/392244/8356061
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/392244/8356064
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/392244/8356073
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