1.

What is the default value of Local Variable in java?

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.


Discussion

No Comment Found