Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class Shoes {
- void speak (String msg) {
- }
- String goodShoes() {
- return "I really like your shoes!";
- }
- String badShoes() {
- return "What are THOSE?";
- }
- static void main(String[] args) {
- Shoes shoes = new Shoes();
- String goodShoes = shoes.goodShoes();
- String badShoes = shoes.badShoes();
- System.out.println(goodShoes);
- System.out.println(badShoes);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement