Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package projetodaagenda;
- public class Main {
- public static void main(String[] args) {
- Pessoas[] amigos = new Pessoas[1000];
- for(int i = 0; i < 1000; i++)
- amigos[i] = new Pessoas();
- amigos[0].nome = "Fernando";
- System.out.println(amigos[0].getName());
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement