![How break statement works in Java programming?](img/8b6dddf93175bfcc760a9221b185b070.png"Working of Java break Statement")
Working of Java break Statement
Java `break`语句的原理
...
...
@@ -136,7 +136,7 @@ if (number < 0.0) {
![The break statement terminates the innermost while loop in case of nested loops.](img/56fee848ebc71a6592db0fd2c9007b74.png"Working of break Statement with Nested Loops")
Working of break Statement with Nested Loops
带有嵌套循环的`break`语句的原理
...
...
@@ -152,7 +152,7 @@ Working of break Statement with Nested Loops
![The labeled break statement is used to break the outermost loop.](img/171d5266b8c72bbaa191894f3cf0987f.png"Working of the labeled break statement in Java")
![The continue statement is used in Java Loops (for, while, and do...while loops) to skip the current iteration of the loop.](img/13467eaab0527da1b3021f15025c836d.png"Working of Java continue statement")
Working of Java continue statement
Java `continue`语句的原理
* * *
...
...
@@ -136,7 +135,7 @@ if (number < 0.0) {
![The continue statement skipped the current iteration of the innermost loop in case of nested loops.](img/e85a2abed9501317a557c4b7cc9accac.png"Working of the continue Statement with Nested Loops")
Working of the continue statement with Nested Loops
带有嵌套循环的`continue`语句的原理
...
...
@@ -150,7 +149,7 @@ Working of the continue statement with Nested Loops
![The labeled continue statement is used to skip the current iteration of the outermost labeled loop.](img/ab4de94d4d765d0976fab459e36ac2ca.png"Working of the labeled continue Statement in Java")
![Working of the method call in Java](img/524d4cee02ac3668c0bda12c0770e843.png"Working of the method call in Java")
Working of the method call in Java
Java 中的方法调用的原理
...
...
@@ -247,7 +247,7 @@ Squared value of 10 is: 100
![Representation of a method returning a value](img/3119eccc9e076e7cfe62028f7ce6ffe2.png"Representation of a method returning a value")
Representation of a method returning a value
返回值的方法的表示
...
...
@@ -290,7 +290,7 @@ Squared value of 4 is: 16
![Example showing passing argument to method and returning value](img/a4d7ea6f6937289efc4a781e08bfa8ba.png"Passing arguments and returning a value from a method in Java")
Passing arguments and returning a value from a method in Java
在 [Kotlin 类和对象](/kotlin-programming/class-objects"Kotlin Class and Objects")文章中,您简要了解了可见性修饰符`public`和`private`。 您将详细了解另外两个可见性修饰符`protected`和`internal`(以及`public`和`private`)。