Today we went over an arraylist. a way to help remind myself of what is does is:
brackets object ARRAYLIST variable = new brackets object ARRAYLIST method style.
In other words, brotalist a is newbrotalist ();
the methods are easy:
add, remove, contains, isEmpty
so there's no accroname necessay to remmeber it.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment