Local Arrays

Local Arrays

Local arrays basically similar as a object reference,when we declared any array with in a method must be assigned a value before using it.

It means we must declare the array and constructed it In the Local array the most imp thing is array elements are given their default values (0, false, null, u0000, etc.) regardless of whether the array is declared as an instance or local variable.

Date:2024-02-09 00:00:00

Post Your Answers

User Email:

User Name:

Related SCJP1.5 chap1 Links

SCJP1.5 chap1 interview questions and answers for experienced and fresher