Fichas
CSE 110 Lecture 15 Notes
Fichas del conjunto (29)
- 1an object to manage a colorColor
- 2an object to manage any drawingsGraphics
- 3an object to manage a frame windowJFrame
- 4an object to manage any components on the JFrameJComponent
- 5in any object-oriented programming language, all tasks are assigned to theseObjects
- 6has a list of variables and functionsObject
- 7an object to manage a window-frame defined in javax.swing APIJFrame
- 8an object to manage the contents in JFrame defined in javax.swing APIJComponent
- 9when you want to change/edit an existing function, you need to do thisOverride
- 10a type of programming language in which a procedure or method is the unit of execution; example: CProcedural
- 11a type of programming language in which procedures or methods exist, but are now organized into classes and objects; examples: C++, Java, C#Object-Oriented
- 12a type of programming language that operates as such: following the mathematical definition, each function returns an output based on the input; example: LispFunctional
- 13a blueprint for an instance; contains attributes and methodsClass
- 14also known as instances; can be created from a class; the attributes of this define its stateObjects
- 15this is how the names of classes are usually writtenTitle Case
- 16classes can be organized into thesePackages
- 17must be the first line in the filePackage Statement
- 18the folder that a package is stored in must be the same in this regardName
- 19to use a package, we use this keywordImport
- 20an organizational functionality of packages; example: java.utilNesting
- 21the technique of exposing only the things that are requiredEncapsulation
- 22rule of thumb: make variables not visible by default, and to instead have methods for thatEncapsulation
- 23encapsulation is achieved by using theseAccess Modifiers
- 24public, private, static, finalCommon Modifiers
- 25items visible outside the class/packagePublic
- 26items visible only in the classPrivate
- 27modifier that provides visibility outside the class, but only inside the packageProtected
- 28keyword that allows us to create constants that cannot be overridden; once the variable is assigned, the value cannot be changedFinal
- 29keyword that allows us to access members without creating static objects; these types of variables are not bound to any objectStatic
Información
- Descripción
- (Notes) CSE 110 Fichas sobre CSE 110 Lecture 15 Notes, creado por Branden Roper el 05/10/2017.
- Creado por
- Branden Roper
- Visitas
- 1
- Etiquetas
- Valoración