Java RuntimePermission Class
The RuntimePermission class in the Java.lang.RuntimePermission package is used to manage runtime permissions. A RuntimePermission has a name (sometimes known as a “target name”) but no actions list; you either have or don’t have the named permission.
The declaration of java.lang.RuntimePermission class is:
public final class RuntimePermission extends BasicPermission
|S.N||Constructors & Description|
Creates a new RuntimePermission with the specified name.
|2.||RuntimePermission(String name, String actions)
Creates a new RuntimePermission object with the specified name.
This class inherits the methods of the following class: