first commit
This commit is contained in:
15
Semester 1/Programming 1/Week 7/Week 7 Programming 1.md
Normal file
15
Semester 1/Programming 1/Week 7/Week 7 Programming 1.md
Normal file
@@ -0,0 +1,15 @@
|
||||
## Lecture 2 (14:00)
|
||||
|
||||
### Sequential Execution
|
||||
- Code usually executed in logical order.
|
||||
- One exception is calling methods from other methods
|
||||
ex.
|
||||
```java
|
||||
public void moveHorizontal( int distance )
|
||||
{
|
||||
erase();
|
||||
xPosition += distance;
|
||||
draw();
|
||||
}
|
||||
```
|
||||
|
Reference in New Issue
Block a user