Home

All the bitwise operators have the same level of precedence in Java.

A. True

B. False

You can do it
  1. Which of the following methods can be used to change the size of a size() *resize()
  2. To delete a file, we can use an instance of class file.
  3. The length of a string object 's1' can be obtained using the expression s1.length.
  4. Which of the following classes are available in the java.lang package?
  5. Which of the following are the wrapper classes?
  6. class.forName(...) creates an instance of java ODBC driver
  7. Which of the following string can be used as mode string for creating a RandomAccessFile object?
  8. The name of a Java program file must match the name of the class with the extension Java.
  9. We would like to make a member of a class visible in all subclasses regardless of what package they…
  10. When present, package must be the first no comment statement in the file.
  11. Which of the following methods belong to the String class?
  12. Which of the following statements are true?
  13. In RMI we invoke client method from remote server
  14. In RMI before running the client program we must start RMI Registry.
  15. Which of the following command lines options generates documentation for all classes and methods?
  16. Any class may be inherited by another class in the same package.
  17. It is perfectly legal to assign a subclass object to a supper class reference.
  18. Session bean
  19. Submit button always fires doPost(...)
  20. Consider the following class definitions: class maths { student student1; } class student { String name;…
  21. Which of the following represent legal flow control statements?
  22. If a=10 and b= 15, then the statement x =(a>b)?a:b; assigns the value 15 to x.
  23. Any method in a supper class can be over ridden in its subclass.
  24. A constructor must always invoke its supper class constructor in its first statement.
  25. In order to connect to a database through java program we must create _______-
  26. Objects are passed to a method by use of call-by-reference.
  27. Which javadoc tag is used to denote a comment for methods parameters?
  28. Which of the following will produce a value of 22 if x=22.9:
  29. Declarations can appear anywhere in the body of a Java method.
  30. The modulus operator (%) can be used only with Integer operands.