Commit dd20658
committed
feat: Modify and access elements in a String array
🧠 Logic:
- Declares and initializes a String array with month names.
- Updates the value at index 2 from "Mar" to "June".
- Prints the updated value at index 2.
Signed-off-by: Somesh diwan <[email protected]>1 parent 68b6ac3 commit dd20658
1 file changed
+4
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
3 | 5 | | |
4 | 6 | | |
5 | 7 | | |
| |||
0 commit comments