Home

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

A. True

B. False

You can do it
  1. With javadoc, which of the following denotes a javadoc comment?
  2. We can over load methods with differences only in their return type.
  3. What is error in the following class definitions? abstract class xy { abstract sum(int x, int y)…
  4. EJBs can be of the following type(s)None of the above
  5. Which of the following keywords are used to control access to a class member?
  6. Objects are passed to a method by use of call-by-reference.
  7. DriverManager.getConnection("jdbc:odbc:dsn_name") method does not depend on the class.forName(...) method.
  8. A constructor must always invoke its supper class constructor in its first statement.
  9. Servlet can have ___________
  10. The length of a string object 's1' can be obtained using the expression s1.length.
  11. When we invoke repaint () for a Component, the AWT invokes the method:
  12. In evaluating a logical expression of type 'Boolean expression 1&& Boolean expression 2', both the Boolean…
  13. Which of the following command lines options generates documentation for all classes and methods?
  14. When the string objects are compared with ==, the result is true If the strings contain the same values.
  15. In the code below, what data types the variable x can have?
  16. If a=10 and b= 15, then the statement x =(a>b)?a:b; assigns the value 15 to x.
  17. The use of protected keyword to a member in a class will restrict its visibility as follows:
  18. Declaring a method synchronized guarantees that the deadlock cannot occur.
  19. An EJB is a server-side component that encapsulates the business logic of an application
  20. Which of the following string can be used as mode string for creating a RandomAccessFile object?
  21. Which javadoc tag is used to denote a comment for methods parameters?
  22. It is an error to have a method with the same signature in both the super class and its subclass.
  23. What does the following line of code do?TextField text=new TextField(10);
  24. Submit button always fires doPost(...)
  25. What is wrong in the following class definitions? abstract class print { abstract show();} class…
  26. The break statement is required in the default case of a switch selection structure.
  27. Servlet has ___________
  28. We would like to make a member of a class visible in all subclasses regardless of what package they…
  29. In RMI we invoke client method from remote server
  30. executeUpdate automatically updates data because___________