Home

The modulus operator (%) can be used only with Integer operands.

A. True

B. False

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

You can do it
  1. Any class may be inherited by another class in the same package.
  2. Which of the following statements are true?
  3. executeUpdate(------------) returns ___________
  4. Consider the following statements: int x = 10, y = 15; x = ((x < y) ? (y + x) : (y - x); What will…
  5. Given the codeString s = new String("abc");Which of the following calls are valid?
  6. Connection, Statement are interfaces and ResultSet is a class.
  7. DriverManager.getConnection("jdbc:odbc:dsn_name") method does not depend on the class.forName(...) method.
  8. A thread can make second thread ineligible for execution by calling the suspend (-) method on second…
  9. JdbcOdbcDriver is an object of Object class
  10. The name of the RMI compiler is ___________
  11. When present, package must be the first no comment statement in the file.
  12. Every method of a final in class is implicitly final.
  13. We can add more than one class(es) at the time of compilation Java Beans.
  14. forName() is a static factory method
  15. Which of the following methods belong to the String class?
  16. Give file is a file object, which of the following are legal statements to create a new file.
  17. Consider the following class definitions: class maths { student student1; } class student { String name;…
  18. To delete a file, we can use an instance of class file.
  19. The concept of multiple inheritance is implemented in Java by
  20. Servlet can have ___________
  21. In evaluating a logical expression of type 'Boolean expression 1&& Boolean expression 2', both the Boolean…
  22. Session bean
  23. A Java monitor must either extend thread class or implement Runnable interface.
  24. It is an error to have a method with the same signature in both the super class and its subclass.
  25. Which of the following string can be used as mode string for creating a RandomAccessFile object?
  26. Which of the following are the wrapper classes?
  27. JSP files creates ________________
  28. Which of the following command lines options generates documentation for all classes and methods?
  29. A catch can have comma-separated multiple arguments.
  30. A static class method can be invoked by simply using the name of the method alone.