Computer Science, asked by ahsanali9709733, 11 months ago

What is the default value of Local Variable in java?

Answers

Answered by Anonymous
2

Answer:

Local variables are visible only within the declared method, constructor, or block. Local variables are implemented at stack level internally. There is no default value for local variables, so local variables should be declared and an initial value should be assigned before the first use.

Similar questions