When X is a positive number the operations x>> 2 and x>>>2 both produce the same result.

A. True

B. False

You can do it
  1. Which are the valid ways to create DataInputStream streams?
  2. A final class may not have any abstract method.
  3. Consider the following class definition.Class Student extends String{}What happens when we try to compile…
  4. Declaring a method synchronized guarantees that the deadlock cannot occur.
  5. It is an error to have a method with the same signature in both the super class and its subclass.
  6. When the string objects are compared with ==, the result is true If the strings contain the same values.
  7. In order to connect to a database through java program we must create _______-
  8. In a single Servlet class we can use____________
  9. For all insert, update, delete, query operations on a database, ResultSet object creation is mandatory.
  10. A class may be both abstract and final.
  11. Which of the following keywords are used to control access to a class member?
  12. Which of the following methods belong to the String class?
  13. When X is a positive number the operations x>> 2 and x>>>2 both produce the same result.
  14. Given the codeString s = new String("abc");Which of the following calls are valid?
  15. Consider the following code snippet: try {int x=0; int y=50/x; System.out.println("Division by zero");…
  16. Which of the following will produce a value of 10 if x = 9.7?
  17. Consider the following statements: int x = 10, y = 15; x = ((x < y) ? (y + x) : (y - x); What will…
  18. DataInput is
  19. Which of the following represent legal flow control statements?
  20. Which of the following statements are valid array declarations?
  21. executeUpdate automatically updates data because___________
  22. Every call to wait has a corresponding call to notify that will eventually end the wafting.
  23. All methods in an abstract class must be declared abstract.
  24. A Java monitor must either extend thread class or implement Runnable interface.
  25. If you want to assign a value of 99 to the variable year, then which of the following lines can be used…
  26. Any class may be inherited by another class in the same package.
  27. The setBackground() method is part of the class
  28. We can add more than one class(es) at the time of compilation Java Beans.
  29. What is java -g used for?
  30. Submit button always fires doPost(...)