Multiple Choice
Caesar cipher uses a shift of each character by a key with a value between 1 and 255. An a with a shift equal to 3 becomes a d. For the decrypt method below, select the correct body. Assume the key shift property is accessible to the method. public int decrypt(int B) { ________ }
A) return (b + key) ;
B) return (b - key % 26) ;
C) return (b - key) % 256) ;
D) return (b - key) ;
Correct Answer:

Verified
Correct Answer:
Verified
Q6: Assume we have a RandomAccessFile object, file,
Q7: The _ class is used when writing
Q8: What is the highest value for a
Q9: How many bytes does the read method
Q10: Based on the code below, the statement
Q12: Which of the following reads binary data
Q12: If serializing object obj requires 12 bytes,
Q14: What is the result of the following
Q15: You cannot read a(n) _ file with
Q16: Which of the following classes are related