A dynamic object is assumed at compile time to support any operation, and only at runtime will you get an error if it wasn't so.
在编译时,会假设动态对象支持任何操作,而如果它不支持某个操作,则只有到运行时才能得到错误。
When an exception is thrown, the static, compile-time type of the thrown object determines the type of the exception object.
当抛出一个表达式的时候,被抛出对象的静态编译时类型将决定异常对象的类型。
If there is no default constructor, then there is a compile-time error: the object must be given an explicit initializer.
如果没有默认构造函数,那么将会出现编译时错误:必须要给对象指定显式的初始化式。
Dynamic methods are useful to compiler writers when the type of an object is not known at compile time.
当物件的型别在编译时期未知时,动态方法对于编译器写入器很有用处。
Dynamic methods are useful to compiler writers when the type of an object is not known at compile time.
当物件的型别在编译时期未知时,动态方法对于编译器写入器很有用处。
应用推荐