If m and n are int type variables, what will be the result of the expression
'm % n' when m = -14 and n = -3?

A. 4

B. 2

C. -2

D. -4

You can do it
  1. Objects are passed to a method by use of call-by-reference.
  2. When we implement the Runnable interface, we must define the method
  3. Which of the following keywords are used to control access to a class member?
  4. An individual array element that is passed to a method and modified in that method will contain the…
  5. The break statement is required in the default case of a switch selection structure.
  6. A package is a collection of
  7. JSP files creates ________________
  8. Every call to wait has a corresponding call to notify that will eventually end the wafting.
  9. Any method in a supper class can be over ridden in its subclass.
  10. EJBs can be of the following type(s)None of the above
  11. With javadoc, which of the following denotes a javadoc comment?
  12. All methods in an abstract class must be declared abstract.
  13. The check box group class is a subclass of the component class.
  14. If m and n are int type variables, what will be the result of the expression'm % n' when m = -14 and…
  15. A string object can not be modified after it is created.
  16. Which exception is thrown by the read() method of InputStream class?
  17. Members of a class specified as private are accessible only to the methods of the class.
  18. Which of the following methods can be used to change the size of a size() *resize()
  19. The name of a Java program file must match the name of the class with the extension Java.
  20. An EJB is a server-side component that encapsulates the business logic of an application
  21. JdbcOdbcDriver is an object of Object class
  22. The expression (x == y && a<b) is true If either x == y is true or a<b is true.
  23. Which key word can protect a class in package from accessibility by the classes outside the package?
  24. A Java monitor must either extend thread class or implement Runnable interface.
  25. We can add more than one class(es) at the time of compilation Java Beans.
  26. The keywords reserved but not used in the initial version of Java re:
  27. Which javadoc tag is used to denote a comment for methods parameters?
  28. Which of the following will produce a value of 10 if x = 9.7?
  29. It is an error to have a method with the same signature in both the super class and its subclass.
  30. Which of the following statements are true?