Questions tagged «nested-loops»

30
ජාවා හි කැදැලි වළළු ඉවත් කරන්නේ කෙසේද?
මට මේ වගේ කැදැලි ලූපයක් තියෙනවා: for (Type type : types) { for (Type t : types2) { if (some condition) { // Do something and break... break; // Breaks out of the inner loop } } } දැන් මම ලූප දෙකෙන්ම ඉවත් වන්නේ කෙසේද? මම සමාන ප්‍රශ්න දෙස බැලුවෙමි, …
1822 java  loops  nested-loops 
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.