adplus-dvertising
frame-decoration

Question

What does FilePermission class do?

a.

This class is used to give permission rights to a file

b.

This class is used to restrict use of permissions

c.

This class is used to represent device access permissions

d.

This class is used to represent file access permissions

Answer: (d).This class is used to represent file access permissions

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. What does FilePermission class do?

Similar Questions

Discover Related MCQs

Q. Which class among the following makes incorrect assumptions?

Q. Reader class is _________________

Q. Which class can handle IO class interrupt?

Q. StringReader handles _____________________

Q. Which exception handler can be used when character encoding is not supported?

Q. PushBackReader allows the streams to be pushed back to the stream.

Q. RandomAccessFile can be used to _______________________

Q. Which among the following is a serialization descriptor for any class?

Q. Which is a true statement for object of String class?

Q. How to declare an object of class String?

Q. What does function length do in String class?

Q. Which is the function to get the character present at a particular index in the string?

Q. If only one parameter is passed to substring function then __________________

Q. If two index are given as argument to substring function then ___________________

Q. String class have a concat() function that is used to _____________________

Q. The function lastIndexOf() is used to ___________________

Q. Function equals() is _______________ and equalIgnoreCase() is _________________

Q. The compareTo() function is used to ________________

Q. String class provides function toUpper() to _____________________

Q. String trim() function is used to _______________________