2
In that question, what would be the right answer?
How Many statements are there in the code Below? Warning: This is a Tricky one. The code is Valid.
{ println("Step 2"); { println("Step 2a"); { println("Step 2a.1"); { } } } } a.1 b.3 c.4 d.7 e.None of the above
I believe it is the C, because a block is a statement. However it can be D too. Which is the correct one?
Did any of the answers solve your question? Do you think you can accept one of them? Check out the [tour] how to do this, if you haven’t already. You would help the community by identifying what was the best solution for you. You can accept only one of them. But you can vote on any question or answer you find useful on the entire site.
– Maniero