Answer:
The delimiter use is "::".
Explanation:
The Java inbuilt String.split( ) function is use to split a String into an array of String.
The split( ) takes delimiter as arguments/parameter which determines at which point the string is to be broken down into different part/token.
From the above code snippet;
Each line in the file a.txt that is not null is splitted using the statement below:
String[ ] v = line.split("::");
The line is splitted using "::" as delimiter and the resulting array is then assigned to the variable 'v'.
For instance, a line in the file could take the form:
John::Smith::Music
When it is splitted,
String lname = John;
because lname make reference to index 0 of the array.
String fname = Smith;
because fname make reference to index 1 of the array.
String dept = Music;
and dept make reference to index 2 of the array.
Answer:
---- ----
Explanation:
1) Start
2) Rectangle: Read Length and Width.
3) Calculate
4) Print (Calculate)
Caesar cipher is a very common type of substitution cipher where each letter in the plaintext is moved or shifted to a known number of places down the alphabet.
The type of cipher is this is ROT13
- ROT13ROT13 is a simple letter substitution cipher. It functions by the replacement of a letter with the 13th letter after it in the alphabet. It is commonly known as Caesar cipher used in ancient Rome
Conclusively we can say that ROT13 is a commonly known Caesar cipher that replaces a letter with the 13th letter after it in the alphabet.
Learn more from
brainly.com/question/15300028