Hi Guys, i'm new to java and i need a code like a student form or employee on how to add, search, and delete a data in an array or list.. i'm very confused and i really need your help.. thanks.
ANDIEniable
0
Newbie Poster
Recommended Answers
Jump to PostArrays
To create an array use the following general syntax:dataType[] arrayName = new dataType[arraySize];
Accessing Size:arr.length
Accessing Data:arr[index]
Modifying Data:arr[index] = var
Insertion: Not Applicable
Deletion: Not Applicable
ArrayLists
To create an ArrayList use the following general syntax:ArrayList<DataType> arrayName = new ArrayList<DataType>();
Accessing Size: …
All 2 Replies
Reply to this topic
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.