Field setBoolean() method in Java with Examples
The setBoolean() method of java.lang.reflect.Field used to set the value of a field as a boolean on the specified object. When you need to set the value of a field of an object as boolean then you can use this method to set value over an Object. Syntax: public void setBoolean(Object obj, boolean z)