private int foo; public int getFoo() { return foo; } public void setFoo(int foo) { this.foo=foo; } #### Here the methods have meaning to the object thing.move(+1,-1); Here we just have a "objectified" data structure and we aren't really OO thing.setX(thing.getX()+1,thing.getY()-1)