代码搜索:Exercise
找到约 10,000 项符合「Exercise」的源代码
代码结果 10,000
www.eeworm.com/read/313151/13595338
java startend13.java
// strings/StartEnd13.java
// TIJ4 Chapter Strings, Exercise 13, page 538
// Modify StartEnd.java so that it uses Groups.POEM as input, but still produces positive
// outputs for find(), lookingAt
www.eeworm.com/read/313151/13595341
java receipt4.java
// strings/Receipt4.java
// TIJ4 Chapter Strings, Exercise 4, page 518
/* Modify Receipt.java so that the widths are all controlled by a single
* set of constant values. The goal is to allow you to
www.eeworm.com/read/313151/13595352
java ex19(2).java
// strings/Ex19.java
// TIJ4 Chapter Strings, Exercise 19, page 546
/* Building on the previous two exercises, write a program that examines
* Java source-code and produces all the class names use
www.eeworm.com/read/313151/13595367
java varargex19.java
// initialization/VarargEx19.java
// TIJ4 Chapter Initialization, Exercise 19, page 204
/* Write a method that takes a vararg String array. Verify that you can pass
* either a comma-separated list
www.eeworm.com/read/313151/13595379
java ex14.java
// interfaces/Ex14.java
// TIJ4 Chapter Interfaces, Exercise 14, page 330
/* Create three interfaces, each with two methods. Inherit a new interface
* that combines the three, adding a new method.
www.eeworm.com/read/313151/13595382
java games19.java
// interfaces/Games19.java
// TIJ4 Chapter Interfaces, Exercise 19, page 342
/* Create a framework using Factory Methods that performs both coin
* tossing and dice tossing.
*/
import java.util.*;
www.eeworm.com/read/310976/13638879
script regtest.script
#To run: java FSTest regtest.script
#Big test script should exercise most sections of code
func mathtest()
#This function tests the various math opperators
int a,b
a=4
b=5
if (a+b)==9
println("
www.eeworm.com/read/302340/13837410
java test.java
package exercise;
import java.util.*;
/*
要求:实现合理的封装
*/
class Person
{
private int id; //编号
private String name; //姓名
private int age; //年龄
public Person(){}
public Person(int
www.eeworm.com/read/148359/5715562
py xpath.py
#!/usr/bin/python -u
#
# this test exercise the XPath basic engine, parser, etc, and
# allows to detect memory leaks
#
import sys
import libxml2
# Memory debug specific
libxml2.debugMemory(1)
doc =
www.eeworm.com/read/113030/6142212
cpp sales.cpp
// Chapter 4 of C++ How to Program
// Exercise 3 (sales.cpp)
#include
using std::cout;
using std::cin;
using std::endl;
using std::fixed;
#include
using std::setpr