- Review the textbook discussion related to Array and ArrayList, including available methods.
- Review Internet resources listed in Resources – specifically TutorialsPoint and W3Schools. The Oracle Java Tutorial provides detailed information that extends beyond the scope of textbook reading, but it is quite valuable.
- Navigate to the threaded discussion and respond to the following:
- List multiple reasons and use cases as to when and why an ArrayList is to be preferred over and Array.
- IF I have an ArrayList of integer values, write the statements to define the ArrayList, declare two integer variables, then add these variables in element “i” and element “j” of the list.
- Write the statements to define an ArrayList of card objects; given a card object reference variable ‘myCard’, replace an existing element with the ‘myCard’ object.
- If you have questions regarding a particular question, make a posting in the appropriate thread.
- The Java code developed for steps a, b, and c does not need to be ‘syntax perfect’.
- Respond to the questions raised by your classmates and assist each other in mastering the course material.
- Help each other by providing places to look in the book or explaining a concept in your own words.
- Your instructor will monitor these forums and provide input as necessary.
- Your initial post is due by the end of the fourth day of the workshop.
0 comments