Advertisement
john2054

Shoes

Sep 22nd, 2016
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.46 KB | None | 0 0
  1. public class Shoes {
  2.     void speak (String msg) {
  3. }
  4.     String goodShoes() {
  5.         return "I really like your shoes!";
  6.     }
  7.     String badShoes() {
  8.         return "What are THOSE?";
  9.     }
  10.     static void main(String[] args) {
  11.         Shoes shoes = new Shoes();
  12.         public String goodShoes = shoes.goodShoes();
  13.         public String badShoes = shoes.badShoes();
  14.         System.out.println(goodShoes);
  15.         System.out.println(badShoes);
  16.     }
  17. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement