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) ;
C) return (b - key % 26) ;
D) return (b - key) % 256) ;
Correct Answer:

Verified
Correct Answer:
Verified
Q26: The readDouble and writeDouble methods of the
Q27: Which code moves the file pointer to
Q28: When storing numbers in a file with
Q29: Which class has a write method that
Q30: Which of the following classes are used
Q32: Which class is used for input of
Q33: The values of the byte type range
Q34: Which expression creates an empty file named
Q35: Given a RandomAccessFile that stores a set
Q36: Which statement is NOT correct about the