Start learning →

Which pair of symbols defines a code block and new scope in Java?

A{ and }
B[ and ]
C( and )
D< and >
Answer & Solution
Correct answer: A. { and }
Curly braces define a code block and create a new scope in Java.
Practise this question with Quill — ICSE Class 10 →

Keep practising Classes, Encapsulation and Scope

Browse all Classes, Encapsulation and Scope questions for ICSE Class 10, or explore more Computer Applications topics.

Start a Classes, Encapsulation and Scope lesson →