Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class stronger {
- private String Pets;
- public void setName(String Dog) {
- Pets = Dog;
- }
- public String getName() {
- return Pets;
- }
- public void strength() {
- System.out.printf("Who is stronger %s", strength());
- }
- }
Add Comment
Please, Sign In to add comment