Home

Which of the following will produce a value of 22 if x=22.9:

A. Ceil(x)

B. Round(x)

C. Rint(x)

D. Abs(x)

You can do it
  1. Every method of a final in class is implicitly final.
  2. Which of the following command lines options generates documentation for all classes and methods?
  3. When X is a positive number the operations x>> 2 and x>>>2 both produce the same result.
  4. A package is a collection of
  5. Servlet can have ___________
  6. A final class may not have any abstract method.
  7. The methods wait() and noify() are defined in
  8. Consider the following code snippet: try {int x=0; int y=50/x; System.out.println("Division by zero");…
  9. Objects are passed to a method by use of call-by-reference.
  10. Which of the following are the wrapper classes?
  11. Every call to wait has a corresponding call to notify that will eventually end the wafting.
  12. When the string objects are compared with ==, the result is true If the strings contain the same values.
  13. An EJB is a server-side component that encapsulates the business logic of an application
  14. It is perfectly legal to assign a subclass object to a supper class reference.
  15. When present, package must be the first no comment statement in the file.
  16. In RMI we invoke client method from remote server
  17. A method declared as static can not access non-static class members.
  18. DataInput is
  19. Two methods cannot have the same name in Java.
  20. When we implement the Runnable interface, we must define the method
  21. forName() is a static factory method
  22. Frames and applets cannot be used together in the same program.
  23. JdbcOdbcDriver is an object of Object class
  24. Consider the following statements: int x = 10, y = 15; x = ((x < y) ? (y + x) : (y - x); What will…
  25. In the code below, what data types the variable x can have?
  26. Which of the following methods can be used to draw the outline of a square?
  27. The keywords reserved but not used in the initial version of Java re:
  28. A panel can not be added to another panel.
  29. We can over load methods with differences only in their return type.
  30. The length of a string object 's1' can be obtained using the expression s1.length.