Mapa mental
Introduce el texto aquí
Conteúdo do mapa
Introduce el texto aquí
Creating Objects
- All data items are objects
- There are several built-in types of data including int, float, str, list
- How to create objects?
- Literal Values
- We want to set some variable to a specific value
- All assignments point references at objects.
- x=6
- The thing on the left side is the reference.
- The thing on the right is another reference or a newly created object
- x=6
- Non-literal values
- We want to create another object by using one or more existing objects
- Literal Values
- All data items are objects
Calling methods on objects
- Objects
- Allow us
- Collect related information.
- Group them with behavior that act on this data.
- Allow us
- Methods
- Behavior of objects.
- Types
- Accessor methods
- Access the current state but don't change the objects
- Mutator methods
- Change the existing object.
- Accessor methods
- Objects
Informações
- Descrição
- Mapa Mental sobre Introduce el texto aquí, criado por Ricardo Velasco em 04-01-2021.
- Criado por
- Ricardo Velasco
- Visualizações
- 1
- Avaliação