Visual Basic .NET <-> Java | Következő iteráció elindítása

Visual Basic .NET

continue while

Leírás

continue while
Használt kulcsszavak: while continue

Példaprogramok

Visual Basic .NET

Következő iteráció elindítása lehetséges használata:
i=0
while i<10
 i=i+1
end while
x =0
while i<20
 i= i+2
 if i=16 then
    continue while
 end if
 x=x+1 
end while
.
Java

continue

Leírás

continue ;
Használt kulcsszavak: continue

Példaprogramok

Java

Következő iteráció elindítása lehetséges használata:
i=0;
while (i<10) ++i;
x =0;
while (i<20)
{
 i= i+2;
 if (i==16)
 {
    continue;
 }
 x++; 
}
Visual Basic .NET

continue for

Leírás

continue for
Használt kulcsszavak: continue

Példaprogramok

Visual Basic .NET

Következő iteráció elindítása lehetséges használata:
i=0
while i<10
 i=i+1
end while
x =0
while i<20
 i= i+2
 if i=16 then
    continue while
 end if
 x=x+1 
end while
.
Java

continue

Leírás

continue ;
Használt kulcsszavak: continue

Példaprogramok

Java

Következő iteráció elindítása lehetséges használata:
i=0;
while (i<10) ++i;
x =0;
while (i<20)
{
 i= i+2;
 if (i==16)
 {
    continue;
 }
 x++; 
}
Visual Basic .NET

continue do

Leírás

continue do
Használt kulcsszavak: do continue

Példaprogramok

Visual Basic .NET

Következő iteráció elindítása lehetséges használata:
i=0
while i<10
 i=i+1
end while
x =0
while i<20
 i= i+2
 if i=16 then
    continue while
 end if
 x=x+1 
end while
.
Java

continue

Leírás

continue ;
Használt kulcsszavak: continue

Példaprogramok

Java

Következő iteráció elindítása lehetséges használata:
i=0;
while (i<10) ++i;
x =0;
while (i<20)
{
 i= i+2;
 if (i==16)
 {
    continue;
 }
 x++; 
}
Más nyelveken: en hu cz sk