Advertisement
Guest User

Untitled

a guest
Jun 23rd, 2017
53
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.24 KB | None | 0 0
  1.  
  2. package projetodaagenda;
  3.  
  4. public class Main {
  5. public static void main(String[] args) {
  6. Pessoas[] amigos = new Pessoas[1000];
  7. amigos[0].nome = "Fernando";
  8. System.out.println(amigos[0].getName());
  9. }
  10.  
  11. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement