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
Q1: You use _ and FileOutputStream objects to
Q3: The FileInputStream read method reads binary data.
Q16: Which of the following classes are related
Q26: If you write a simple Student class,
Q45: Readers and writers access sequences of _.<br>A)
Q49: Which methods are not in the Serializable
Q64: Which file storage method stores data in
Q66: Which class is used for input of
Q70: Assume we have a RandomAccessFile object, file,
Q82: What is the lowest value for a