Write a program that prints a poem of your choice. If you don't have a favorite poem, search the Internet for "Emily Dickinson" or "e e cummings."
Solution:
import static java.lang.System.out;
class P0112
{
public static void main(String[] args)
{
out.println("Hey diddle, diddle,");
out.println("The cat and the fiddle.");
out.println("The cow jumped over the moon.");
out.println("The little dog laughed to see such sport");
out.println("And the dish ran away with the spoon.");
}
}