Тести
Мова сайту: Українська
Українська
English
Русский
Тести з програмування
Вхід
Реєстрація
Тести з програмування
Теорія
Сніпети
Статті
Головна
Android
Ціни
FAQ
Історія Cosmo
Правила та умови сервісу
Політика конфіденційності
Політика щодо файлів cookie
Зворотній Зв’язок
file system
:
Мова контенту: English
Русский
What should be placed insted of ... in order to read the content of the C:\file.txt file and print it out on the screen? Select all that will work public class Main { public static void main(String[] args) { File file = new File("C:\\file.txt"); try { ... int i; while((i = input.read()) != -1){ System.out.print((char)i); } } catch (Exception ex) { System.out.println("Exception"); } } }
file system
← Попередня
1
Наступна →
Зареєструйся Зараз
або
Підпишись на майбутні тести