File Handling in Java

preview_player
Показать описание
Java Tutorial explains File handling in Java using File Class. Creating Folders, files, deleting folders and deleting files.
File system operations for Data driven testing using Selenium WebDriver.
Рекомендации по теме
Комментарии
Автор

You can use this syntax :
if (abc.exists())
{
//statement
}
Because the method. exist() has a return value of type boolen and will be checked here directly.

montasirali
Автор

Dear GC Reddy. There is a difference between exit and exist. Please check.

chrisinhim