javapojo

What is the difference between field, variable, attribute, and property in Java POJOs?


When referring to internal private variables of Java POJOs that have getters/setters, I've used the following terms:

Is there any difference between the above? If so, what is the correct term to use? Is there a different term to use when this entity is persisted?


Solution

  • From here: http://docs.oracle.com/javase/tutorial/information/glossary.html