Skip to content

Commit 1fd9a4d

Browse files
committed
Constructors
1 parent c90c905 commit 1fd9a4d

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+807
-14
lines changed

src/SUMMARY.md

Lines changed: 24 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,6 @@
9595
# Control Flow I
9696

9797
- [Branching Paths](./branching_paths.md)
98-
9998
- [If](./branching_logic/if.md)
10099
- [Nested Ifs](./branching_logic/nested_ifs.md)
101100
- [Else](./branching_logic/else.md)
@@ -226,21 +225,36 @@
226225

227226
- [Instance Methods](./instance_methods.md)
228227
- [Invocation](./instance_methods/invocation.md)
229-
- [this](./instance_methods/this.md)
230-
- [Aliasing](./instance_methods/aliasing.md)
228+
- [Arguments](./instance_methods/arguments.md)
229+
- [Field Access](./instance_methods/field_access.md)
230+
- [Field Updates](./instance_methods/field_updates.md)
231231
- [Derived Values](./instance_methods/derived_values.md)
232+
- [Invoke Other Methods](./instance_methods/invoke_other_methods.md)
233+
- [this](./instance_methods/this.md)
234+
- [Disambiguation](./instance_methods/disambiguation.md)
235+
- [Clarity](./instance_methods/clarity.md)
236+
237+
# Control Flow III
232238

233-
## Control Flow III
234-
- [Exceptions]()
235-
- [Recursion]()
239+
- [Exceptions](./exceptions.md)
240+
- [throw](./exceptions/throw.md)
241+
- [Messages](./exceptions/messages.md)
242+
- [Stack Traces](./exceptions/stack_traces.md)
243+
- [try/catch](./exceptions/try_catch.md)
244+
245+
# Code Structure III
236246

237-
## Code Structure III
238247
- [Constructors](./constructors.md)
239-
- [this](./constructors/this.md)
248+
- [Declaration](./constructors/declaration.md)
240249
- [The Default Constructor](./constructors/the_default_constructor.md)
250+
- [Arguments](./constructors/arguments.md)
241251
- [Final Fields](./constructors/final_fields.md)
242-
- [Multiple Constructors](./constructors/multiple_constructors.md)
243-
- [Invariants]()
252+
- [Invariants](./constructors/invariants.md)
253+
- [Overloads](./constructors/overloads.md)
254+
- [Delegation](./constructors/delegation.md)
255+
256+
<!--
257+
244258
- [Multiple Files]()
245259
- [The Implicit Main Class]()
246260
- [Private]()
@@ -260,7 +274,6 @@
260274
- [Primitive Classes](./classes/primitive_classes.md)
261275
- [Reference Classes](./classes/reference_classes.md)
262276
263-
<!--
264277
Arrays
265278
copy an array (System.arrayCopy, for loop)
266279
Generics

src/arguments/declaration.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ you need to put a comma separated list of argument declarations.
55

66
Each argument declaration looks the same as a variable declaration and has both a type and a name.
77

8-
```java,norun
8+
```java,no_run
99
// This declares a single argument named "food" that
1010
// has a type of "String".
1111
void eat(String food) {

src/arguments/overloading.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Multiple methods can be declared that have the same name.
44
This is allowed so long as each method takes different types
55
or different numbers of arguments.
66

7-
```java,norun
7+
```java,no_run
88
void doThing(int x) {
99
System.out.println(x);
1010
}

src/arrays/initialization_with_size.md

Whitespace-only changes.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# Initializion without Initializer

src/arrays/initialization_without_initializer.md

Whitespace-only changes.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# Primitive Types

src/classes/multiple_return_values.md

Whitespace-only changes.

src/classes/return_values.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# Return Multiple Values

src/classes/the_meaning_of_the_word_class.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,6 @@ it stores. The `String` class would specify all of that.[^heady]
1010

1111

1212
[^idiot]: What an [idiot](https://www.shardcore.org/spx/2015/05/15/diogenes-and-the-chicken/)
13+
1314
[^heady]: If thats a bit too heady of an explanation don't fret. You will likely get it intuitively eventually.
1415
There are like 50 different ways to explain it and eventually one will land for you.

0 commit comments

Comments
 (0)