“upcast”可以造什么句,upcast造句
来源:语文精选馆 2.06W
When a class has implemented an interface, objects created from that class can be upcast to the interface type, as demonstrated by Listing 12-3.
Once an object has been upcast to an interface type, only the members specified in the interface can be used.