What does using the casting word "(SuperClass)" do in the main method below? Does this change the object type?
class SuperClass{
  public void method(){
    System.out.print("SuperClass");
  }
}
class Sub extends SuperClass{
  public void method(){
    System.out.print("SubClass");
  }
}
public class SubSub extends Sub{
  public static void main(String args[]){
    ((SuperClass)new SubSub()).method();
  }
  public void method(){
    System.out.print("SubsubClass");
  }
}