Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class Address {
- }
- class Person {
- //Person has-a Address
- public Address[] address;
- public Person(Address[] address) {
- this.address = address;
- }
- // Other code goes here
- }
- public Person(Address[] address) {
- this.address = address;
- }
- // Other code goes here
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement