Home

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

A. True

B. False

You can do it
  1. Which of the following keywords are used to control access to a class member?
  2. It is an error to have a method with the same signature in both the super class and its subclass.
  3. Which of the following represent legal flow control statements?
  4. A package is a collection of
  5. For all insert, update, delete, query operations on a database, ResultSet object creation is mandatory.
  6. Give file is a file object, which of the following are legal statements to create a new file.
  7. Servlet can have ___________
  8. Frames and applets cannot be used together in the same program.
  9. All methods in an abstract class must be declared abstract.
  10. DataInput is
  11. Which of the following represent legal flow control statements?
  12. A static class method can be invoked by simply using the name of the method alone.
  13. A method declared as static can not access non-static class members.
  14. An individual array element that is passed to a method and modified in that method will contain the…
  15. executeUpdate automatically updates data because___________
  16. Any class may be inherited by another class in the same package.
  17. In a single Servlet class we can use____________
  18. In RMI we invoke client method from remote server
  19. Connection, Statement are interfaces and ResultSet is a class.
  20. Which of the following methods belong to the String class?
  21. executeUpdate(------------) returns ___________
  22. It is an error if a class with one or more abstract methods is not explicitly declared abstract.
  23. When X is a positive number the operations x>> 2 and x>>>2 both produce the same result.
  24. The keywords reserved but not used in the initial version of Java re:
  25. In RMI before running the client program we must start RMI Registry.
  26. Servlet has ___________
  27. Which of the following methods can be used to remove a component from the display?
  28. If a=10 and b= 15, then the statement x =(a>b)?a:b; assigns the value 15 to x.
  29. Consider the following class definitions: class maths { student student1; } class student { String name;…
  30. The name of the RMI compiler is ___________