„Здравей, Амиго! Ето, вземи тези интересни задачи. Можете да изпълнявате тези задачи само в Intellij IDEA.“
7
Задача
Java Collections, ниво, урок
Unzipping a file
The main method accepts a list of arguments.
The first argument, resultFileName, is the name of the resulting file. The remaining arguments are the names of files for fileNamePart.
Each fileNamePart file is a part of a zip file. You need to unzip the entire file by assembling it from its parts.
14
Задача
Java Collections, ниво, урок
Reading config files
Implement the getProperties method, which must read the properties from the passed fileName file.
fileName can have any extension, e.g. XML, any other extension, or none at all.
You need to ensure the properties are read properly.
If errors occur, a null object must be returned.