Start learning →

How is a variable declared according to standard Java language syntax?

AUsing memory size
BWriting type and name
CUsing call keyword
DWriting index address
Answer & Solution
Correct answer: B. Writing type and name
Variables in Java are declared by specifying their data type followed by their name.
Practise this question with Quill — ICSE Class 8 →

Keep practising Java Data Types and Variables

Browse all Java Data Types and Variables questions for ICSE Class 8, or explore more Computer Applications topics.

Start a Java Data Types and Variables lesson →