Home

A catch can have comma-separated multiple arguments.

A. True

B. False

You can do it
  1. A Java monitor must either extend thread class or implement Runnable interface.
  2. Which of the following string can be used as mode string for creating a RandomAccessFile object?
  3. putValue(...) method takes _____________________-
  4. executeUpdate automatically updates data because___________
  5. The programmer must explicitly create the system .in and system .out objects.
  6. A method declared as static can not access non-static class members.
  7. For all insert, update, delete, query operations on a database, ResultSet object creation is mandatory.
  8. Which are the valid ways to create DataInputStream streams?
  9. An individual array element that is passed to a method and modified in that method will contain the…
  10. When we invoke repaint () for a Component, the AWT invokes the method:
  11. It is an error if a class with one or more abstract methods is not explicitly declared abstract.
  12. When the string objects are compared with ==, the result is true If the strings contain the same values.
  13. A variable declared inside the for loop control can not be referenced out side the loop.
  14. Java always provides a default constructor to a class.
  15. Which of the following will produce a value of 10 if x = 9.7?
  16. Which of the following methods belong to the String class?
  17. Servlet can have ___________
  18. Which of the following keywords are used to control access to a class member?
  19. class.forName(...) creates an instance of java ODBC driver
  20. In RMI we invoke client method from remote server
  21. Java is fully object oriented programme.
  22. Which of the following methods can be used to remove a component from the display?
  23. To delete a file, we can use an instance of class file.
  24. If you want to assign a value of 99 to the variable year, then which of the following lines can be used…
  25. When present, package must be the first no comment statement in the file.
  26. If a=10 and b= 15, then the statement x =(a>b)?a:b; assigns the value 15 to x.
  27. Consider the following class definitions: class maths { student student1; } class student { String name;…
  28. The default case is always required in the switch selection structure.
  29. An EJB is a server-side component that encapsulates the business logic of an application
  30. When we implement the Runnable interface, we must define the method