Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package random;
- import java.util.*;
- public class Add {
- public static void main(String args[]) {
- methodOne();
- methodOne();
- methodTwo();
- methodTwo();
- System.out.println("they all run after the farmer's wife.");
- }
- public static void methodOne() {
- System.out.println("Three blind mice,");
- }
- public static void methodTwo() {
- System.out.println("see how they run,");
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement