To delete a file, we can use an instance of class file.

A. True

B. False

Please do not use chat terms. Example: avoid using "grt" instead of "great".

You can do it
  1. Which of the following statements are true?
  2. In evaluating a logical expression of type 'Boolean expression 1&& Boolean expression 2', both the Boolean…
  3. Submit button always fires doPost(...)
  4. If a=10 and b= 15, then the statement x =(a>b)?a:b; assigns the value 15 to x.
  5. When X is a positive number the operations x>> 2 and x>>>2 both produce the same result.
  6. Java always provides a default constructor to a class.
  7. A Java monitor must either extend thread class or implement Runnable interface.
  8. Give file is a file object, which of the following are legal statements to create a new file.
  9. To delete a file, we can use an instance of class file.
  10. DataInput is
  11. Which of the following methods can be used to change the size of a size() *resize()
  12. We can add more than one class(es) at the time of compilation Java Beans.
  13. Which exception is thrown by the read() method of InputStream class?
  14. The use of protected keyword to a member in a class will restrict its visibility as follows:
  15. A thread can make second thread ineligible for execution by calling the suspend (-) method on second…
  16. A panel can not be added to another panel.
  17. An individual array element that is passed to a method and modified in that method will contain the…
  18. It is an error to have a method with the same signature in both the super class and its subclass.
  19. JdbcOdbcDriver is an object of Object class
  20. We can over load methods with differences only in their return type.
  21. Message-Driven beans act as a listener for the Java Message Service API, processing messages synchronously
  22. A class may be both abstract and final.
  23. A variable declared inside the for loop control can not be referenced out side the loop.
  24. Which of the following command lines options generates documentation for all classes and methods?
  25. It is an error if a class with one or more abstract methods is not explicitly declared abstract.
  26. What is error in the following class definitions? abstract class xy { abstract sum(int x, int y)…
  27. A constructor must always invoke its supper class constructor in its first statement.
  28. A final class may not have any abstract method.
  29. Java is fully object oriented programme.
  30. When the string objects are compared with ==, the result is true If the strings contain the same values.