Why do we have these two names? (fields and attributes) They seem to do the exact same thing.
Is there a subtle difference between the two?
For example a function and a method. I have some heard people say they are the exact same thing, but there is one key difference: a function is global, hence no functions in Java, only methods, since everything in encapsulated inside of a class.
Is there some difference like this to fields and attributes?