2(ix)
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
ICSE Class 10 Computer Applications PYQ · 2024 Specimen · Section A
When there is no explicit initialization, what are the default values set for variables in the following cases?
(a) Integer variable
(b) String variable
(a) 0
(b) null