Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class Emily extends Person{}
- public void checkgender(Person p){
- system.out.println("Is Male: " + Boolean.parseBoolean(isMale));
- }
- //Test
- checkgender(EmilySkype.GetEmily());
- //output
- Is Male: True
Add Comment
Please, Sign In to add comment