Computer Applications

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

(a) Integer variable

(b) String variable

Values & Data Types Java

ICSE Sp 2024

49 Likes

Answer

(a) 0

(b) null

Answered By

33 Likes


Related Questions