Skip to content

Commit 80edf43

Browse files
Merge pull request rage#261 from adikaiser/patch-22
fixed typos
2 parents 4355cf9 + 17965fd commit 80edf43

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

data/part-11/1-class-diagrams.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ We also write the return type of a method in the class diagram.
110110
<img src="../img/diagrams/part4.1-classdiagram-person-name-age-constructor-print.png" alt="[Person|-name:String;-age:int|+Person(initialName:String);+printPerson():void]">
111111

112112

113-
<text-box variant='hint' name='A class diagram describes classes, construcutors and methods'>
113+
<text-box variant='hint' name='A class diagram describes classes, constructors and methods'>
114114

115115
<!-- Luokkakaaviossa kuvataan luokat, muuttujat, konstruktorit, ja metodit sekä luokkien väliset yhteydet. Luokkakaavio ei kuitenkaan kerro mitään konstruktorien ja metodien sisäisestä toteutuksesta. Luokkakaaviolla kerrotaan siis olioiden rakenteesta, mutta luokkakaaviot eivät itsessään määrittele toiminnallisuutta. -->
116116
A class diagram describes classes and their attributes, constructors and methods as well as the connections between classes. However a class diagram tells us nothing about the implementation of the constructors or the methods. Therefore a class diagram describes the structure of an object but not its functionality.
@@ -122,7 +122,7 @@ For example the method `printPerson` uses the class attributes `name` and `age`,
122122

123123

124124
<!-- Lisätään luokalle vielä nimen palauttava metodi `getNimi`. -->
125-
Below we have added method `getName` to the Person class which returns the name of the Person.
125+
Below we have added the method `getName` to the Person class which returns the name of the Person.
126126

127127

128128
```java

0 commit comments

Comments
 (0)