What does “for (char c : s.toCharArray())” mean?

后端 未结 0 1438
别跟我提以往
别跟我提以往 2021-01-02 06:55

To be more specific, what does "char c : s.toCharArray()" mean?

Stack stack = new Stack();
for (char c : s.toCharArray())


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题