I'll go first:
In Java I have made my own class, that holds one property. It has a method to set that property and another one to print it to the console.
Consider the following code. What would it print?
Object a = new Object(); a.setProperty(5); ArrayList<Object> list = new ArrayList<Object>(); list.add(a); list.get(0).setProperty(6); a.printProperty(); list.get(0).printProperty(); a.setProperty(4); a.printProperty(); list.get(0).printProperty();