Guest User

Untitled

a guest
Jan 23rd, 2019
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.28 KB | None | 0 0
  1. fun traditionalJavaLoop() {
  2. val employees = createEmployees()
  3. for(counter in 0 .. employees.size -1)
  4. println("${employees.get(counter).name} is present")
  5. }
  6. //Bongani is present
  7. //Busiswe is present
  8. //null is present
  9. //null is present
  10. //Susan is present
  11. //Bill is present
Add Comment
Please, Sign In to add comment