Skip to content

Commit cdc57dd

Browse files
committed
more ART!
1 parent fdef434 commit cdc57dd

File tree

25 files changed

+56
-2
lines changed

25 files changed

+56
-2
lines changed

src/annotations.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
# Annotations
22

3+
4+
<img src="/annotations/header.png" height="200px"/>
5+
36
Comments are useful when reading code. Since they can contain any text,
47
you can use them to clarify your intent, make note of issues to address
58
later, etc.
@@ -21,7 +24,7 @@ class Main {
2124
}
2225
}
2326

24-
int main() {
27+
void main() {
2528
IO.println(addOne(5));
2629
IO.println(absoluteValue(-25));
2730
}
@@ -49,7 +52,7 @@ class Main {
4952
}
5053
}
5154

52-
int main() {
55+
void main() {
5356
IO.println(addOne(5));
5457
IO.println(absoluteValue(-25));
5558
}

src/annotations/header.png

44.4 KB
Loading

src/class_extension.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# Class Extension
22

3+
<img src="/class_extension/header.png" height="200px"/>
4+
35
Just like interfaces can extend other interfaces, classes can extend other classes.
46

57
```java

src/class_extension/header.png

27.1 KB
Loading

src/compilation.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# Compilation
22

3+
<img src="/compilation/header.png" height="200px"/>
4+
35
The first step to sharing code you've written with other people is to
46
compile it.
57

src/compilation/header.png

29.3 KB
Loading

src/documentation.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# Documentation
22

3+
<img src="/documentation/header.png" height="200px"/>
4+
35
When sharing code that is intended to be used as a library it is important to explain
46
how exactly your code should be used.
57

src/documentation/header.png

35.8 KB
Loading

src/first_steps.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# First Steps
22

3+
4+
<img src="/first_steps/header.png" height="200px"/>
5+
6+
37
If you made it through the [Getting Started section](./getting_started/hello_world.md) you've successfully run this program.
48

59
```java

src/first_steps/header.png

23 KB
Loading

0 commit comments

Comments
 (0)