If I have a class such as:
class Person { private String name; ...constructor, getters, setters, equals, hashcode, tostring... }
Can I subc
No - you will get two different fields. The annotated name field in Employee will be hiding the name field in the Person class. Person.name will not be annotated.
Employee
Person
Person.name