Is this defining a new class or new instance?
<p>New to java. Unclear about this piece of code:</p>

<pre><code>ParseQuery query = new ParseQuery("GameScore");
query.getInBackground("xWMyZ4YEGZ", new GetCallback() {
  public void done(ParseObject object, ParseException e) {
    if (e == null) {
      // object will be your game score
    } else {
      // something went wrong
    }
  }
});
</code></pre>

<p>With <code>new GetCallback() {....}</code>, is it instancing an instance of GetCallback class or defining a subclass of Getcallback class or both? </p>

<p>Is this Java's way of doing anonymous functions in C/Objective-C and Ruby's blocks?</p>
