Previous Lecture | Lecture 2 | Next Lecture |
Lecture 2, Wed 09/28
Continuation of introduction to git/github and Java basics
If you have notes from this lecture
… please consider posting a summary to Piazza.
I generally recall that we discussed material from the links below during this lecture, but I don’t have a record of exactly which topics were covered.
General idea of what was covered
Topics for this lecture were taken from material about git/github here:
- https://ucsb-cs56-pconrad.github.io/topics/git/
- https://ucsb-cs56-pconrad.github.io/topics/git_basic_workflow/
- https://ucsb-cs56-pconrad.github.io/topics/git_gitignore/
And information about Java from here:
- rational_ex01
- private data members, public constructors, integers from command line arguments, main methods, built in toString method, simple compilation/execution with javac/java
- rational_ex02
- toString method, public getters, simple build.xml file for Ant, mutiple classes with main() in a single project
- rational_ex03
- creating a jar file, automatic testing with junit, creating and publishing javadoc
- rational_ex04
- move source to /src and .class files to /build, adjustments to Ant build.xml, discuss immutable objects