Start learning →

Which punctuation symbol is allowed in a Java identifier?

ASemicolon ;
BPeriod dot .
CHyphen sign -
DUnderscore _
Answer & Solution
Correct answer: D. Underscore _
Connecting punctuation like the underscore is permitted in Java identifiers.
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 →