05-07feb06static - 1 For more info:...

Info iconThis preview shows pages 1–3. Sign up to view the full content.

View Full Document Right Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: 1 For more info: http://www.mailmsg.com/history.htm CS100J 6 February 2007 In 1968, the Defense Department hired Bolt Beranek and Newman (BBN) of Boston to help develop the ARPANET, which later turned into the internet. In 1971, Ray Tomlinson of BBN was given the task of figuring out how to send files from one person to another. He created email with file attachments. He selected @ as the separator between an email name and location. Names for @ in other languages: Italian: chiocciolina = little snail French: petit escargot = little snail German: klammeraffe = spider monkey Dutch: api = short for apestaart (monkey's tail) Finnish: miau = cat tail Israeli: strudel = a pastry Danish: snabel = an "A" with a trunk Spanish: un arroba = a unit of about 25 pounds Norwegian: kanel-bolle = spiral-shaped cinnamon cake TODAY: Object: the superest class of them all. pp 153-154. Function toString. Static variables and methods. Sec. 1.5 (p. 47). Testing using JUnit. 2 /** Each instance describes a chapter in a book * */ public class Chapter { private String title; // The title of the chapter private int number; // The number of chapter private Chapter previous; // previous chapter (null if none) /** Constructor: an instance with title t, chap n, previous chap c */ public Chapter(String t, int n, Chapter c) { title= t; number= n; previous= c; } /** = title of this chapter */ public String getTitle() { return title; } /** = number of this chapter */ public int getNumber() { return number; } /** = (name of) the previous chapter (null if none) */ public Chapter getPrevious() { return previous; } } Today, we use a class Chapter : an instance of which describes a book....
View Full Document

This note was uploaded on 03/03/2012 for the course CS 100J taught by Professor Davidgries during the Spring '07 term at Cornell University (Engineering School).

Page1 / 12

05-07feb06static - 1 For more info:...

This preview shows document pages 1 - 3. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online