0

What mean nested??

10th Mar 2019, 9:44 AM
Jagdish Khattar
Jagdish Khattar - avatar
3 Respostas
+ 5
nested loop: a loop inside a loop for (int i = 0; i < 10; i++){ for (int j = 0; j < i; j++){ nested if: if (i < 10){ if (i < 5){ nested array: int [][] nest = { {1,2,3}, {1,2,3} } There are many other examples.
10th Mar 2019, 10:04 AM
Denise Roßberg
Denise Roßberg - avatar
+ 2
In HTML (XML, SGML, etc.) it looks like this: <Element1> <Element2> <Element3> Some text in nested elements </Element3> </Element2> </Element1>
10th Mar 2019, 10:06 AM
Maneren
Maneren - avatar
+ 2
In some languages it is possible to create nested classes: https://www.sololearn.com/learn/CSharp/2684/?ref=app
10th Mar 2019, 10:06 AM
Denise Roßberg
Denise Roßberg - avatar