0
Anyone please "briefly" explain nested statements with suitable examples. I want to master it.
3 Respuestas
+ 9
Nested Statements : Consider IF statement , a nested IF means a IF statement inside a IF.
e.g:
if(condition){
if(condition){
something;
}
}
Similar for other statements.
+ 6
Its like the movie Inception,but,
instead of dreams it is another layer of code.
+ 1
nested statements means if there is a block of statements within other block e.g.
for(...)
{
for(...)
{
}
}
This is a for in a for.
There can be various form of nesting