✅ Перевірена відповідь на це питання доступна нижче. Наші рішення, перевірені спільнотою, допомагають краще зрозуміти матеріал.
Gegeben ist folgendes Programmstück:
| import |
Was ist das Ergebnis dieses Programmstücks, wenn die angegebene Datei existiert und die Dokumentationen für den Konstruktor und die Methode setReadOnly() der Klasse File folgendermaßen aufgebaut sind:
File(String pathname) | Creates a new File instance by converting the given pathname string into an abstract pathname. |
boolean setReadOnly() | Marks the file or directory named by this abstract pathname so that only read operations are allowed. |