1.

What does FilePermission class do?(a) This class is used to give permission rights to a file(b) This class is used to restrict the use of permissions(c) This class is used to represent device access permissions(d) This class is used to represent file access permissions

Answer» Right answer is (d) This class is used to represent file access permissions

For explanation: The FilePermission can’t get access to the device access permissions. The Permission is given to a file when it is created or otherwise when a privileged user changes it. Then these permission rights can be accessed using the FilePermission class.


Discussion

No Comment Found

Related InterviewSolutions