CS-61B
文章平均质量分 53
xiaruolei
这个作者很懒,什么都没留下…
展开
-
Homework 1-2
/* Nuke2.java */ import java.io.*;public class Nuke2 { public static void main(String[] arg) throws Exception{ BufferedReader keyboard; String inputLine; keyboard = new Buffer原创 2017-04-18 19:25:13 · 267 阅读 · 0 评论 -
Homework 1-1
/* OpenCommercial.java */import java.net.*; import java.io.*;/** A class that provides a main function to read five lines of a commercial * Web page and print them in reverse order, given the name原创 2017-04-18 16:29:29 · 349 阅读 · 0 评论 -
Lab 1
/* Names.java */import java.io.*;/** The Names class provides a single function, main, that will * perform various manipulations of the name John Fitzgerald Kennedy. * This is a modification of原创 2017-04-18 15:06:12 · 321 阅读 · 0 评论 -
Lab 2
/* Fraction.java */import java.io.*;/** The Fraction class implements nonnegative fractions (rational numbers). */public class Fraction { /* private fields within a Fraction. */ private st原创 2017-04-18 19:48:41 · 182 阅读 · 0 评论 -
Homework 2
/* Date.java */import java.io.*;public class Date { /* Put your private data fields here. */ private int month; private int day; private int year; /** Constructs a date wit原创 2017-05-11 18:04:53 · 330 阅读 · 0 评论 -
Lab 3
/* SListNode.java *//** * SListNode is a class used internally by the SList class. An SList object * is a singly-linked list, and an SListNode is a node of a singly-linked * list. Each SListNod原创 2017-05-12 00:21:11 · 205 阅读 · 0 评论