CSC207H5 Lecture Notes - Lecture 4: University Of Toronto Mississauga, Abstract Window Toolkit, Compile Time
Document Summary
Dynamic binding - compile time) based on calling object. Defines how an object interacts with the outside world. You want to say this car is using this interface. to have a vehicle interface, they must follow this rule. In interface, you cannot use implementation of some sort of sharing method. The classes extending this class share non-public methods or variables. Classes are not inter-related but share some functionalities in the interface. A class can be implement multiple interfaces. Ie. you can have one object with different interfaces and multiple at the same time. Express the design of a program before writing any code. it is language dependent and an extremely expressive language. Visibility: name: type methodname(param1: type1, param2: type2, ): returntype ( - ) private ( + ) public ( # ) protected ( ~ ) package. Gui (graphical user interface) buttons, text fields, layouts etc.