Home

It is an error to catch the same type of exception in two different catch blocks associated with a particular try block.

A. True

B. False

You can do it
  1. A string object can not be modified after it is created.
  2. Which of the following methods can be used to change the size of a size() *resize()
  3. class.forName(...) creates an instance of java ODBC driver
  4. If m and n are int type variables, what will be the result of the expression'm % n' when m = -14 and…
  5. Consider the following class definitions: class maths { student student1; } class student { String name;…
  6. Which of the following control expressions are valid for an if statement?
  7. Java is fully object oriented programme.
  8. A class may be both abstract and final.
  9. JSP files creates ________________
  10. What is java -g used for?
  11. Which of the following methods can be used to draw the outline of a square?
  12. It is perfectly legal to refer to any instance variable inside of a static method.
  13. executeUpdate(------------) returns ___________
  14. Which javadoc tag is used to denote a comment for methods parameters?
  15. Every method of a final in class is implicitly final.
  16. To delete a file, we can use an instance of class file.
  17. The break statement is required in the default case of a switch selection structure.
  18. Which of the following will produce a value of 10 if x = 9.7?
  19. When the string objects are compared with ==, the result is true If the strings contain the same values.
  20. The programmer must explicitly create the system .in and system .out objects.
  21. An EJB is a server-side component that encapsulates the business logic of an application
  22. DriverManager.getConnection("jdbc:odbc:dsn_name") method does not depend on the class.forName(...) method.
  23. The methods wait() and noify() are defined in
  24. Which of the following are not keywords?
  25. What does the following line of code do?TextField text=new TextField(10);
  26. Which of the following represent legal flow control statements?
  27. The use of protected keyword to a member in a class will restrict its visibility as follows:
  28. Servlet can have ___________
  29. Declaring a method synchronized guarantees that the deadlock cannot occur.
  30. Which of the following keywords are used to control access to a class member?