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 perfectly legal to assign a subclass object to a supper class reference.
  2. A catch can have comma-separated multiple arguments.
  3. In the code below, what data types the variable x can have?
  4. A constructor must always invoke its supper class constructor in its first statement.
  5. Which of the following statements are true?
  6. Which of the following are keywords?
  7. The modulus operator (%) can be used only with Integer operands.
  8. Consider the following class definitions: class maths { student student1; } class student { String name;…
  9. Which of the following will produce a value of 10 if x = 9.7?
  10. When we implement an interface method, it should be declared as public.
  11. In evaluating a logical expression of type 'Boolean expression 1&& Boolean expression 2', both the Boolean…
  12. Message-Driven beans act as a listener for the Java Message Service API, processing messages synchronously
  13. Any method in a supper class can be over ridden in its subclass.
  14. Two methods cannot have the same name in Java.
  15. Which key word can protect a class in package from accessibility by the classes outside the package?
  16. executeUpdate(------------) returns ___________
  17. Consider the following code snippet: try {int x=0; int y=50/x; System.out.println("Division by zero");…
  18. Which of the following statements are valid array declarations?
  19. EJBs can be of the following type(s)None of the above
  20. The import statement is always the first no comment statement in a Java program files.
  21. Which of the following represent legal flow control statements?
  22. Declaring a method synchronized guarantees that the deadlock cannot occur.
  23. Which of the following represent legal flow control statements?
  24. The methods wait() and noify() are defined in
  25. Java is fully object oriented programme.
  26. A JSP file can be stored_________________
  27. It is an error to have a method with the same signature in both the super class and its subclass.
  28. When we invoke repaint () for a Component, the AWT invokes the method:
  29. In RMI before running the client program we must start RMI Registry.
  30. Servlet can have ___________