Skip to content

Commit 1eb8ff2

Browse files
committed
Fix grammar
1 parent 3370229 commit 1eb8ff2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/classes/field_access.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Field Access
22

3-
You can access the value of any field on a class by writing the name of a variable holding an instance
3+
You can access the value of any field in a class by writing the name of a variable holding an instance
44
of that class, `.`, then the name of that field.
55

66
```java

src/classes/field_initialization.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
You can set an initial value for a field in a few ways.
44

5-
One is to access to assign the field directly on the instance created.
5+
One is to assign the field directly on the instance created.
66

77
```java
88
class Muppet {

0 commit comments

Comments
 (0)