Home

The default case is always required in the switch selection structure.

A. True

B. False

You can do it
  1. Consider the following class definition.Class Student extends String{}What happens when we try to compile…
  2. forName() is a static factory method
  3. A catch can have comma-separated multiple arguments.
  4. In RMI before running the client program we must start RMI Registry.
  5. Which of the following methods can be used to draw the outline of a square?
  6. All the bitwise operators have the same level of precedence in Java.
  7. Which of the following methods can be used to change the size of a size() *resize()
  8. A constructor must always invoke its supper class constructor in its first statement.
  9. A package is a collection of
  10. DataInput is
  11. If a=10 and b= 15, then the statement x =(a>b)?a:b; assigns the value 15 to x.
  12. A method declared as static can not access non-static class members.
  13. Give file is a file object, which of the following are legal statements to create a new file.
  14. One the features of is that an array can store many different types of values.
  15. We would like to make a member of a class visible in all subclasses regardless of what package they…
  16. To delete a file, we can use an instance of class file.
  17. A string object can not be modified after it is created.
  18. Declarations can appear anywhere in the body of a Java method.
  19. We can add more than one class(es) at the time of compilation Java Beans.
  20. Which of the following methods can be used to remove a component from the display?
  21. Java always provides a default constructor to a class.
  22. Message-Driven beans act as a listener for the Java Message Service API, processing messages synchronously
  23. Which of the following will produce a value of 10 if x = 9.7?
  24. Consider the following statements: int x = 10, y = 15; x = ((x < y) ? (y + x) : (y - x); What will…
  25. It is an error to have a method with the same signature in both the super class and its subclass.
  26. The modulus operator (%) can be used only with Integer operands.
  27. executeUpdate automatically updates data because___________
  28. When we implement the Runnable interface, we must define the method
  29. In RMI we invoke client method from remote server
  30. What is wrong in the following class definitions? abstract class print { abstract show();} class…