Package javiergs
Class Genius
java.lang.Object
javiergs.Genius
A genius that can think, write and read.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Genius
public Genius()
-
-
Method Details
-
think
Thinks.- Returns:
- a message indicating that the genius is thinking.
-
write
Writes text on a paper.- Parameters:
paper
- the paper where the text will be written.text
- the text to write.
-
read
Reads text from a paper.- Parameters:
paper
- the paper to read.- Returns:
- the text read from the paper.
-