Home / MCQ Bank / Computer
Computer Input Output Difficulty: Medium

Which method is used to delete a file or directory in Java?

Select the correct option to test your answer:

More Computer Questions

Which of the following pattern matching modifiers permits whitespace and comments inside the regular expression? Which statistical method is commonly used to decompose a time series into its trend, seasonal, and residual components? Given below classes which of the following are the possible row entries in vtable of Base class? class Base { public: virtual void function1() {}; virtual void function2() {}; }; class D1: public Base { public: virtual void function1() {}; }; class D2: public Base { public: virtual void function2() {}; }; What will be the output of the following Java program? class jump_statments { public static void main(String args[]) { int x = 2; int y = 0; for ( ; y < 10; ++y) { if (y % x == 0) continue; else if (y == 8) break; else System.out.print(y + " "); } } } Which header file is required to use file I/O operations?