java - what are basic functionality of operator? -
hi, can tell me ":" operator , please explain below condition statement?
for(string key:keyset) -----> : operator
it's not operator, it's part of syntax. see enhanced loop or for-each loop. iterates on keyset , binds each string contains variable key 1 after in each iteration.
Comments
Post a Comment