When there is no explicit initialization, what are the default values set for variables in the following cases?

ICSE Class 10 Computer Applications PYQ · 2024 Specimen · Section A

2(ix)1 Mark · 2024 · Section A · 2024 Specimen

When there is no explicit initialization, what are the default values set for variables in the following cases?

(a) Integer variable

(b) String variable

Show SolutionHide Solution↓

(a) 0

(b) null

← Previous questionNext question →

Browse the free Computer Applications sample bank