Map
Index
Random
Help
th

Quote: static type-checking may not catch type errors due to subclassing a function argument

topics > all references > references a-b > QuoteRef: alexRT1_2000 , p. 37



Topic:
dynamic type checking
Topic:
dynamic vs. static data type

Quotation Skeleton

Static type-checking limitations can allow programs with obscure … [Figure 5] The assignment x[0]=y [where x and y are of class A] raises a runtime … because an array of class B objects [a superclass of A passed as an argument] cannot store an object of class A. … This program has an illegal assignment of a …   Google-1   Google-2

Copyright clearance needed for quotation.


Related Topics up

Topic: dynamic type checking (43 items)
Topic: dynamic vs. static data type (19 items)

Copyright © 2002-2008 by C. Bradford Barber. All rights reserved.
Thesa is a trademark of C. Bradford Barber.