Git-Leon пре 7 година
родитељ
комит
e9c5f81659
1 измењених фајлова са 3 додато и 2 уклоњено
  1. 3
    2
      README.md

+ 3
- 2
README.md Прегледај датотеку

5
 # Part 1.1 - Create `Person` Class
5
 # Part 1.1 - Create `Person` Class
6
 * Create a `Person` class.
6
 * Create a `Person` class.
7
 	* `Person` constructor should have a parameter of type `String` which sets the `name` instance-variable to the respective value.
7
 	* `Person` constructor should have a parameter of type `String` which sets the `name` instance-variable to the respective value.
8
-	* `Person` should have a `getName()` method which returns the `Person` object's `name` variable.
9
-	* `Person` should have a `setName()` method which sets the `Person` object's `name` variable.
8
+	* The class should declare a `final` field named `id` of type `long`.
9
+	* The class should define a `getName()` method which returns the `Person` object's `name` variable.
10
+	* The class should define a `setName()` method which sets the `Person` object's `name` variable.
10
 
11
 
11
 -
12
 -
12
 # Part 1.0 - Test `Person`
13
 # Part 1.0 - Test `Person`