Home

A catch can have comma-separated multiple arguments.

A. True

B. False

Please do not use chat terms. Example: avoid using "grt" instead of "great".

You can do it
  1. The use of protected keyword to a member in a class will restrict its visibility as follows:
  2. In evaluating a logical expression of type 'Boolean expression 1&& Boolean expression 2', both the Boolean…
  3. What is wrong in the following class definitions? abstract class print { abstract show();} class…
  4. A catch can have comma-separated multiple arguments.
  5. When we implement an interface method, it should be declared as public.
  6. An EJB is a server-side component that encapsulates the business logic of an application
  7. forName() is a static factory method
  8. Any method in a supper class can be over ridden in its subclass.
  9. Which of the following are not keywords?
  10. Declarations can appear anywhere in the body of a Java method.
  11. What is error in the following class definitions? abstract class xy { abstract sum(int x, int y)…
  12. Which of the following methods can be used to remove a component from the display?
  13. Declaring a method synchronized guarantees that the deadlock cannot occur.
  14. When we implement the Runnable interface, we must define the method
  15. The modulus operator (%) can be used only with Integer operands.
  16. A final class may not have any abstract method.
  17. The programmer must explicitly create the system .in and system .out objects.
  18. All the bitwise operators have the same level of precedence in Java.
  19. Every call to wait has a corresponding call to notify that will eventually end the wafting.
  20. When we invoke repaint () for a Component, the AWT invokes the method:
  21. What does the following line of code do?TextField text=new TextField(10);
  22. Which of the following will produce a value of 10 if x = 9.7?
  23. A package is a collection of
  24. class.forName(...) creates an instance of java ODBC driver
  25. Which of the following are the wrapper classes?
  26. Which of the following represent legal flow control statements?
  27. Servlet has ___________
  28. If you want to assign a value of 99 to the variable year, then which of the following lines can be used…
  29. The setBackground() method is part of the class
  30. Frames and applets cannot be used together in the same program.