"Hallo Amigo!" Ik heb een paar interessante taken voor je bedacht."
"Ze kunnen alleen worden ingevuld in IntelliJ IDEA. Kijk eens naar deze interessante voorwaarden..."
14
Taak
Java Collections, niveau 1, les 8
Vergrendeld
Null object pattern
Read about the null-object pattern on Wikipedia.
Use Files to correctly initialize the fileData field with a ConcreteFileData object in the Solution class's constructor.
If you have any problems reading the file in the pathToFile path, then initialize the field with a NullFileData object.
7
Taak
Java Collections, niveau 1, les 8
Vergrendeld
Path 101
Read about all of the Path class's methods.
Find one that creates a relative path between the current path and a passed path.
Implement the getDiffBetweenTwoPaths method. It must return a relative path.
The main method is not tested.
0
Opmerkingen
Populair
Nieuw
Oud
Je moet ingelogd zijn om opmerkingen te kunnen maken