4 ms·
Instance variables != attributes? If that's the case what do you call "attribute"?
by remram 4y ago
Instance variables != attributes? If that's the case what do you call "attribute"?
- chrisseaton 4y agoAttributes are an interface - a getter and setter method with predictable names. They can be implemented with instance variables as the underlying storage, but they don't have to be.