Home

Which of the following will produce a value of 10 if x = 9.7?

A. floor(x)

B. abs(x)

C. rint(x)

D. round(x)

You can do it
  1. The name of the RMI compiler is ___________
  2. Any method in a supper class can be over ridden in its subclass.
  3. We can add more than one class(es) at the time of compilation Java Beans.
  4. The import statement is always the first no comment statement in a Java program files.
  5. What is error in the following class definitions? abstract class xy { abstract sum(int x, int y)…
  6. Consider the following class definition.Class Student extends String{}What happens when we try to compile…
  7. Objects are passed to a method by use of call-by-reference.
  8. The use of protected keyword to a member in a class will restrict its visibility as follows:
  9. In evaluating a logical expression of type 'Boolean expression 1&& Boolean expression 2', both the Boolean…
  10. Message-Driven beans act as a listener for the Java Message Service API, processing messages synchronously
  11. Every method of a final in class is implicitly final.
  12. We would like to make a member of a class visible in all subclasses regardless of what package they…
  13. What is java -g used for?
  14. Servlet has ___________
  15. Which key word can protect a class in package from accessibility by the classes outside the package?
  16. A method declared as static can not access non-static class members.
  17. Which exception is thrown by the read() method of InputStream class?
  18. A JSP file can be stored_________________
  19. Which of the following represent legal flow control statements?
  20. In order to connect to a database through java program we must create _______-
  21. When the string objects are compared with ==, the result is true If the strings contain the same values.
  22. It is perfectly legal to refer to any instance variable inside of a static method.
  23. Which of the following are the wrapper classes?
  24. A string object can not be modified after it is created.
  25. The expression (x == y && a<b) is true If either x == y is true or a<b is true.
  26. Which of the following statements are true?
  27. Submit button always fires doPost(...)
  28. When we invoke repaint () for a Component, the AWT invokes the method:
  29. What does the following line of code do?TextField text=new TextField(10);
  30. A panel can not be added to another panel.