why we write (int i,s=0)in java
Answers
Answered by
0
they r the initial values of variable
if we didnt do this the it will give error that variable do not initialized
if we didnt do this the it will give error that variable do not initialized
Answered by
0
Actually, declaring variable on seperate line is the preferred method.
Declaring multiple variables in a single line declaration can cause regarding the types of variables and their initial values.
Declaring multiple variables in a single line declaration can cause regarding the types of variables and their initial values.
Similar questions