Java术语,用于区分运行时类型与编译时类型

In Java, an Object can have a runtime type (which is what it was created as) and a casted type (the type you have casted it to be).

我想知道这些类型的专有名称是什么。例如

class A {

}

class B extends A {

}

A a = new B();

a was created as a B however it was declared as an A. What is the proper way of referring to the type of a using each perspective?