Haiku.java

T-Shirts & Hoodies

Clothing Style:
or
$24.80
Get this by Dec 24

Shipping to

business days (Express)
business days (Standard)
ubiquitoid

Minnetonka, United States

  • Product
    Info
  • Reviews
  • Available
    Products
    6
  • Artist
    Notes

Sizing Information

S M L XL 2XL 3XL
Chest 36" 40" 44" 48" 52" 56"
Length 28" 29" 30" 31" 32" 33"
Sizing chart
Model wears a size L

Features

  • Plain colours are 100% Cotton, Heather colours are 90% Cotton & 10% Polyester
  • Ethically sourced
  • Slim fit, but if that's not your thing, order a size up
  • Uncommon designs, printed just for you.

Reviews

Artist's Description

For literate geeks: An original haiku in (valid) Java.

© Marc Weber. All rights reserved.

Notes on implementation:

  • The top-level HaikuBuilder class is not public, so it can be saved in a file by a different name (e.g., Haiku.java).
  • A Haiku class needs to be defined.
  • A Hai class needs to be defined as a subclass of Haiku (so that a Hai reference can be upcast to type Haiku), and Hai must have a constructor that takes a String argument.
  • Once an instance of HaikuBuilder is created, its compose method can be called to return a reference to a new instance of Haiku.

Related: main method

desktop tablet-landscape content-width tablet-portrait workstream-4-across phone-landscape phone-portrait
desktop tablet-landscape content-width tablet-portrait workstream-4-across phone-landscape phone-portrait

10%off for joining

the Redbubble mailing list

Receive exclusive deals and awesome artist news and content right to your inbox. Free for your convenience.