代码搜索:Exercise
找到约 10,000 项符合「Exercise」的源代码
代码结果 10,000
www.eeworm.com/read/344238/11897730
java cartoon2.java
// reusing/Cartoon2.java
// TIJ4 Chapter Reusing, Exercise 3, page 245
/* Prove the previous sentence. (Even if you don't create a constructor for
* Cartoon(), the compiler will synthesize a defaul
www.eeworm.com/read/344238/11897778
java itest.java
// object/ITest.java
// TIJ4 Chapter Object, Exercise 7, page 90
// Turn the Incrementable code fragments into a working program.
class StaticTest {
static int i = 47;
}
class Incrementable {
www.eeworm.com/read/344238/11897845
java ex17.java
// interfaces/Ex17.java
// TIJ4 Chapter Interfaces, Exercise 17, page 335
// Prove that the fields in an interface are implicitly static and final.
interface Days {
int SUNDAY = 1, MONDAY = 2,
www.eeworm.com/read/344238/11897883
java queue27.java
// holding/Queue27.java
// TIJ4 Chapter Holding, Exercise 27, page 424
/* Write a class called Command that contains a String and has a method operation()
* that displays the String. Write a second
www.eeworm.com/read/344238/11897927
java ex12.java
// holding/Ex12.java
// TIJ4 Chapter Holding, Exercise 12, page 410
/* Create and populate a List. Create a second List of the
* same size as the first, and use ListIterator to re
www.eeworm.com/read/344238/11897944
java ex12a.java
// holding/Ex12a.java
// TIJ4 Chapter Holding, Exercise 12, page 410
/* Create and populate a List. Create a second List of the
* same size as the first, and use ListIterator to r
www.eeworm.com/read/344238/11897960
java sentence7.java
// strings/Sentence7.java
// TIJ4 Chapter Strings, Exercise 7, page 527
/* Using the documentation for java.util.regex.Pattern as a resource,
* write and test a regular expression that checks a sen
www.eeworm.com/read/344238/11897968
java ex5.java
// strings/Ex5.java
// TIJ4 Chapter Strings, Exercise 5, page 521
/* For each of the basic conversion types in the above table, write the
* most complex formatting expression possible. That is, use
www.eeworm.com/read/344238/11897983
java scanner20.java
// strings/Scanner20.java
// TIJ4 Chapter Strings, Exercise 20, page 549
/* Create a class that contains int, long, float and double and String fields.
* Create a constructor for this class that ta
www.eeworm.com/read/256101/12028455
cpp ex04_21.cpp
// Exercise 4.21: ex04_21.cpp
// What does this program print?
#include
using std::cout;
using std::endl;
int main()
{
int count = 1; // initialize count
while ( count