What do two semicolons mean in Java for loop?

前端 未结 5 1215
渐次进展
渐次进展 2020-12-17 07:51

I was looking inside the AtomicInteger Class and I came across the following method:

/**
 * Atomically increments by one the current value.
 *
          


        
5条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2020-12-17 08:27

    It's just another variation of an infinite loop, just as while(true){} is.

提交回复
热议问题