Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*@John Robinson
- */
- public class Shoes {
- void speak (String msg) {
- // }
- //ring reply to good shoes
- //public String goodShoes() {
- //TODO: Write the goodShoes method body here.
- public String goodShoes() {
- Shoes =("I really like your shoes!") ;
- }
- /*@return String reply to bad shoes
- */
- public String badShoes() {
- Shoes bs= new Shoes("What are THOSE?");
- //TODO: Write the badShoes method body here.
- }
- public static void main(String[] args) {
- //TODO: Write the main method body here.
- System.out.println(goodShoes);
- System.out.printn(badShoes);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement