Commit 04bd35e
committed
feat: Demonstrate basic array declaration, initialization, and default values in Java
🧠 Logic:
- Declares primitive types (`int`, `String`) and introduces array syntax.
- Initializes arrays with `new` and shows default values (`int` defaults to 0, `String` to null).
- Explains stack vs. heap for array references and objects.
- Example includes both individual variables and grouped data using arrays.
Signed-off-by: Somesh diwan <[email protected]>1 parent 6c729b6 commit 04bd35e
1 file changed
+0
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
3 | 2 | | |
4 | 3 | | |
5 | 4 | | |
| |||
0 commit comments