Home

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

A. True

B. False

You can do it
  1. In a single Servlet class we can use____________
  2. Connection, Statement are interfaces and ResultSet is a class.
  3. To delete a file, we can use an instance of class file.
  4. Which of the following control expressions are valid for an if statement?
  5. It is perfectly legal to assign a subclass object to a supper class reference.
  6. The methods wait() and noify() are defined in
  7. Which of the following will produce a value of 22 if x=22.9:
  8. The programmer must explicitly create the system .in and system .out objects.
  9. A catch can have comma-separated multiple arguments.
  10. Consider the following code snippet: try {int x=0; int y=50/x; System.out.println("Division by zero");…
  11. When we implement the Runnable interface, we must define the method
  12. In evaluating a logical expression of type 'Boolean expression 1&& Boolean expression 2', both the Boolean…
  13. A JSP file can be stored_________________
  14. The length of a string object 's1' can be obtained using the expression s1.length.
  15. Which of the following represent legal flow control statements?
  16. Which of the following represent legal flow control statements?
  17. We can add more than one class(es) at the time of compilation Java Beans.
  18. Java is fully object oriented programme.
  19. It is an error to have a method with the same signature in both the super class and its subclass.
  20. Which of the following are the wrapper classes?
  21. Two methods cannot have the same name in Java.
  22. The setBackground() method is part of the class
  23. A string object can not be modified after it is created.
  24. A Java monitor must either extend thread class or implement Runnable interface.
  25. executeUpdate automatically updates data because___________
  26. It is an error if a class with one or more abstract methods is not explicitly declared abstract.
  27. The concept of multiple inheritance is implemented in Java by
  28. The check box group class is a subclass of the component class.
  29. A final class may not have any abstract method.
  30. A thread can make second thread ineligible for execution by calling the suspend (-) method on second…