mirror of
https://github.com/processing/processing4.git
synced 2026-01-29 19:31:16 +01:00
16 lines
141 B
Plaintext
16 lines
141 B
Plaintext
class Word {
|
|
|
|
int count;
|
|
String word;
|
|
|
|
Word(String s) {
|
|
word = s;
|
|
count = 1;
|
|
}
|
|
|
|
void count() {
|
|
count++;
|
|
}
|
|
|
|
}
|