0% found this document useful (0 votes)
31 views56 pages

05 3-28 01

csc

Uploaded by

brwite123
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
31 views56 pages

05 3-28 01

csc

Uploaded by

brwite123
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 56

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

You might also like