Home

If you want to assign a value of 99 to the variable year, then which of the following lines can be used within an <applet> tags?

A. number=getParameter(99)

B. <number==99>

C.

D. <param = radius value ==99>

You can do it
  1. It is an error if a class with one or more abstract methods is not explicitly declared abstract.
  2. What is wrong in the following class definitions? abstract class print { abstract show();} class…
  3. In order to connect to a database through java program we must create _______-
  4. The import statement is always the first no comment statement in a Java program files.
  5. class.forName(...) creates an instance of java ODBC driver
  6. If you want to assign a value of 99 to the variable year, then which of the following lines can be used…
  7. Java always provides a default constructor to a class.
  8. Which key word can protect a class in package from accessibility by the classes outside the package?
  9. Message-Driven beans act as a listener for the Java Message Service API, processing messages synchronously
  10. Which of the following statements are true?
  11. A catch can have comma-separated multiple arguments.
  12. All methods in an abstract class must be declared abstract.
  13. We can add more than one class(es) at the time of compilation Java Beans.
  14. Which of the following methods can be used to draw the outline of a square?
  15. Java is fully object oriented programme.
  16. Which javadoc tag is used to denote a comment for methods parameters?
  17. The keywords reserved but not used in the initial version of Java re:
  18. Which of the following keywords are used to control access to a class member?
  19. Which of the following will produce a value of 22 if x=22.9:
  20. Declarations can appear anywhere in the body of a Java method.
  21. Which of the following represent legal flow control statements?
  22. Which of the following represent legal flow control statements?
  23. It is an error to catch the same type of exception in two different catch blocks associated with a particular…
  24. It is perfectly legal to assign a subclass object to a supper class reference.
  25. A final class may not have any abstract method.
  26. To delete a file, we can use an instance of class file.
  27. The check box group class is a subclass of the component class.
  28. The modulus operator (%) can be used only with Integer operands.
  29. All the bitwise operators have the same level of precedence in Java.
  30. JdbcOdbcDriver is an object of Object class