Convo TODAY at noon (immediately after class). "Limiting Armed Drone
Proliferation" by Micah Zenko, the Douglas Dillon fellow in the Center
for Preventive Action at the Council on Foreign Relations and vice
chair of the World Economic Forum Global Agenda Council on Terrorism.
Any other event in the Rosenfield Drones program.
CS Extra, Thursday, September 11: Ajuna Kyaruzi '17 on being a SysAdmin
CS Table, Friday, September 12: Socially-Assistive Robots Help Children with Autism
Second-year students get extra credit for doing the second-year science
retreat on Sept. 20.
Second-year students also get extra credit for filling in the email
ADT Design: Arrays
Three basic ADT questions for Arrays
Philosophy: A homogeneous mutable non-expandable collection of items
that you can access using a numerical index.
Question: Should we allow arrays to be heterogeneous?
It can be hard to write code to process the elements of
It can be hard to implement hetereogeneous arrays.
Question: In Java, can arrays be hetereogeneous?
Yes, but they are much like (void *) array in C.
initialize - create - set initial values
getElementAtIndex(int index) or get(int index) or a[i]
Continguous area of memory, #elements x sizeofelement big,
ith element is at base + index*sizeofelement.
Vectors and ArrayLists
Two kinds of expandable arrays.
Why does the default toString method for arrays return the
default object gobbledygook (type@identifier) rather than
something more human readable?
How did you avoid the extra comma in printing your arrays?