Advertisement
Guest User

Untitled

a guest
Sep 20th, 2016
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.65 KB | None | 0 0
  1. /*@John Robinson
  2. */
  3.  
  4. public class Shoes {
  5.  
  6.     void speak (String msg) {
  7.  // }
  8.  
  9.  
  10.     //ring reply to good shoes
  11.  
  12.   //public String goodShoes() {
  13.  
  14.    //TODO: Write the goodShoes method body here.
  15.       public String goodShoes() {
  16. Shoes =("I really like your shoes!")   ;    
  17.   }
  18.  
  19.   /*@return String reply to bad shoes
  20.   */
  21.   public String badShoes() {
  22.   Shoes bs= new Shoes("What are THOSE?");
  23.    //TODO: Write the badShoes method body here.
  24.  
  25.   }
  26.  
  27.   public static void main(String[] args) {
  28.    
  29.     //TODO: Write the main method body here.
  30.     System.out.println(goodShoes);
  31.       System.out.printn(badShoes);
  32.    
  33.  
  34.  
  35.  
  36.   }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement