typing notes
fully virtual today
-Thursday
• normally:
◦ I will be in
person
◦ Zoom option
if sick
◦ outlook is better than canvas
◦ 5 projects - build
Oop
◦ functional
programming
in 101
◦ functional
◦ OOP
◦ procedural
◦ etc
◦ OOP
◦ interpreted (read line by line)
compiled
58
‣ Everything MUST be in a class
(OOP)
in 101 / 202
Classes:
• had data
• constructor
• __str__
203 / OOP:
• all data, methods, etc - classes
• Method:
◦ function that is in a class
Class name must match
le name
Case sensitive
‣ Must have a main method
• entry point of program
‣ public
• access modi er
• anyone can access / use
the:
◦ function
◦ variable
8
◦ static
‣ later
◦ void:
‣ return type
‣ void - means return nothing
◦ String[] args:
6
‣ parameter
‣ String[] - type
‣ args - name
c
◦ Syntax:
‣ {}
• code block
‣ ;
• end statements
By