Apuntes
object oriented programming with java
Contenido del apunte (5)
Página 1
Object = programming building block, a component with some desired functionality
You ask objects to do some work
You don't know how they do it
It's what they do not how they do it
https://www.youtube.com/watch?v=2juoGMQzA64 (Enclavar)
ISO 8604 = international standard for date and time in a digital format = YYYY-MM-DD
Página 2
Class and Methods
https://www.youtube.com/watch?v=p4MK_R8ULBU (Enclavar)
Class = objects with common behavior.. like days and "strings"
1964-11-28
1933-04-03
1969-07-20
"Hello"
"Goodbye"
"so-long"
Methods
Get day
Get month
Get year
These are all methods that call an object to get a result
Página 3
Variables
https://www.youtube.com/watch?v=xtxKVvBfSW0 (Enclavar)
Página 4
Naming Variables
https://www.youtube.com/watch?v=TXWCqRTOhW0 (Enclavar)
Use a variable to store a value that you need later
Every variable has a name
Página 5
Variable Type and then the name
Información
- Descripción
- Computer Science Apunte sobre object oriented programming with java, creado por Rian McCollom el 08/04/2017.
- Creado por
- Rian McCollom
- Visitas
- 1
- Etiquetas
- Valoración