Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- fun main() {
- val hello: Array<Byte> = arrayOf(72, 101, 108, 108, 111, 32, 75, 111, 116, 105, 110, 33)
- val helloIter = hello.iterator()
- while (helloIter.hasNext()) {
- print(helloIter.next().toInt().toChar())
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment