question: @ Override public void checkPermission ( Permission perm ) { if ( perm instanceof FilePermission ) { } else if ( perm instanceof SocketPermission ) { SocketPermission sp = ( SocketPermission ) perm ; h_Socket ( sp ) ; } else if ( perm instanceof RuntimePermission ) { RuntimePermission rp = ( RuntimePermission ) perm ; h_Runtime ( rp ) ; } }
target:  Check a permission. This performs the check statement for the permission type and handles it accordingly