Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package ex6;
- public class PessoaTeste {
- public static void main(String[] args){
- Pessoa p1 = new Pessoa("A", 5);
- p1.start();
- Pessoa p2 = new Pessoa("B", 3);
- p2.start();
- Pessoa p3 = new Pessoa("C", 1);
- p3.start();
- }
- }
Add Comment
Please, Sign In to add comment