хакерский тест
var xyFile:File = File.createTempFile();
if (xyFile.isDirectory() == true)
xyFile.deleteDirectory(true)
else
xyFile.deleteFile();
Rajesh
var xyFile:File = File.createTempFile();
if (xyFile.isDirectory() == true)
xyFile.deleteDirectory(true)
else
xyFile.deleteFile();
var xyFile:File = File.createTempFile();
if (xyFile.isDirectory() == true)
xyFile.deleteDirectory(true)
else
xyFile.deleteFile();
class HackerEarth {
int val = 10;
public static void main(String[] args) {
HackerEarth obj = new HackerEarth();
System.out.println(obj.val);
}
}
var xyFile:File = File.createTempFile();
if (xyFile.isDirectory() == true)
xyFile.deleteDirectory(true)
else
xyFile.deleteFile();