Why do we need an array? Let's say you are asked to store the name and roll_number of a student, you will probably declare a string variable to store name and integer variable to store roll number, Like, String name = “myname”; int roll_number = 20; ...
Markdown supported · ⌘↵ to post
No responses yet.