The java.lang.RuntimePermission class is for runtime permissions. A RuntimePermission contains a name (also referred to as a "target name") but no actions list; you either have the named permission or you don't.
Following is the declaration for java.lang.RuntimePermission class −
public final class RuntimePermission extends BasicPermission
|Sr.No.||Constructor & Description|
This constructs a new RuntimePermission with the specified name.
RuntimePermission(String name, String actions)
This constructs a new RuntimePermission object with the specified name..
This class inherits methods from the following class −