1/13
Looks like no tags are added yet.
Name | Mastery | Learn | Test | Matching | Spaced | Call with Kai |
|---|
No analytics yet
Send a link to your students to track their progress
.add(int index, object obj)
adds (inserts) the object at a given index; void
.set(int index, object obj)
sets the list of elements at the index to the object and returns what is previously at the index; object
.get(int index)
get the object at the index; object
.remove(int index)
removes the object at that index and returns it; object
what package is the ArrayList class part of
java.util
how is arraylist different from arrays
it can change size as needed and element can be inserted or removed
code the instantiation of arraylist of card objects named cards
ArrayList
.add(Object obj)
adds the object to the end of the list; boolean
.size()
returns number of elements in the arraylist; int
what is List
an interface
define recursion
a method that calls itself
what is a method that calls itself called
recursion
what do all recursive methods require
an exit or base case that stops recursion
Still learning (4)
You've begun learning these terms. Keep up the good work!