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. What is java -g used for?
  2. One the features of is that an array can store many different types of values.
  3. The name of the RMI compiler is ___________
  4. Which of the following are not keywords?
  5. If a=10 and b= 15, then the statement x =(a>b)?a:b; assigns the value 15 to x.
  6. Frames and applets cannot be used together in the same program.
  7. Java always provides a default constructor to a class.
  8. A package is a collection of
  9. Which of the following will produce a value of 10 if x = 9.7?
  10. Which of the following statements are valid array declarations?
  11. Which of the following will produce a value of 22 if x=22.9:
  12. Which of the following string can be used as mode string for creating a RandomAccessFile object?
  13. When we invoke repaint () for a Component, the AWT invokes the method:
  14. Declarations can appear anywhere in the body of a Java method.
  15. To delete a file, we can use an instance of class file.
  16. An individual array element that is passed to a method and modified in that method will contain the…
  17. Which are the valid ways to create DataInputStream streams?
  18. An EJB is a server-side component that encapsulates the business logic of an application
  19. If a=10 and b= 15, then the statement x =(a>b)?a:b; assigns the value 15 to x.
  20. What does the following line of code do?TextField text=new TextField(10);
  21. A JSP file can be stored_________________
  22. We can add more than one class(es) at the time of compilation Java Beans.
  23. The check box group class is a subclass of the component class.
  24. A method declared as static can not access non-static class members.
  25. Session bean
  26. Every call to wait has a corresponding call to notify that will eventually end the wafting.
  27. Any class may be inherited by another class in the same package.
  28. Which key word can protect a class in package from accessibility by the classes outside the package?
  29. The programmer must explicitly create the system .in and system .out objects.
  30. Which of the following methods can be used to change the size of a size() *resize()