"हाय, अमिगो!" मी तुमच्यासाठी काही मनोरंजक कार्ये घेऊन आलो आहे."
"ते फक्त IntelliJ IDEA मध्ये पूर्ण केले जाऊ शकतात. या मनोरंजक परिस्थितींवर एक नजर टाका..."
14
टास्क
Java Collections, पातळी 1, धडा 8
लॉक केलेले
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
टास्क
Java Collections, पातळी 1, धडा 8
लॉक केलेले
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
टिप्पण्या
लोकप्रिय
नवीन
जुने
टिप्पणी करण्यासाठी तुम्ही साईन इन केलेले असणे आवश्यक आहे