I don't see any error on your code, everything is well written and simple. Except trying putting PUBLIC on your Class displayer. If you encounter the same problem again try to rebuild your whole code and try to recompile the whole code. Even try restarting your personal computer.
Answer:
Bits
Explanation:
The protocol data unit is the representative unit of data in the OSI layer of a network. The OSI system has seven layers.
The physical layer is the first layer of the system and the protocol data unit is represented as bits of data.
Note that the term packet is the PDU for data in the network layer of the OSI network system.
Http://www.cprogramming.com/tutorial/string.html
--------------------------------------------------------------------
Answer:
The last character in the string processed is "t".
Explanation:
The index start from 0 and the len(fruit) is 5.
When index is 0 which is less than 5; "f" is printed
When index is 1 which is less than 5; "r" is printed
When index is 2 which is less than 5; "u" is printed
When index is 3 which is less than 5; "i" is printed
When index is 4 which is less than 5; "t" is printed
When index is 5, the condition is false; so the loop content is not executed.
Therefore, the last character traversed in the string "fruit" is "t".