CISC 124 Lecture Notes - Lecture 6: Name Binding, Compile Time
Document Summary
Uml - unified modeling language - different kinds of diagrams for representing programing design. $ means static box is class line with arrow is relationship between classes little numbers show the amount in each. Encapsulation - grouping data & methods together in classes with info hiding. **inheretence - deriving new classses from old ones. Allows us to have related, but not identical classes without starting from scratch for each class. Polymorphosm - the ability of an object to take many forms. Dynamic binding-binding of method calls to methods done partialy at runtime. "extend" classes are subclasses that inherits all the methods and variables from its superclass plus extras that are added. In uml, they are represented with hollow arrows. Can use cast to assure the compiler that say, e for example is the subclass that is being assigned at the time. example: // where salesperson is a subclass of employee.