Implement getFieldValue method to retrieve the value of public field fieldName from the given object. If the field doesn't exist or it is not available (i.e. has private access modifier), return null.
Remember that
get() method may throw an exception if you try to access a private field.