getFields()
returns all public fields for a class, including its parent public fields.
getDeclaredFields()
returns all fields, including public/private/protected for this specific class, but not include the parent class.
getFields()
returns all public fields for a class, including its parent public fields.
getDeclaredFields()
returns all fields, including public/private/protected for this specific class, but not include the parent class.