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. The concept of multiple inheritance is implemented in Java by
  2. Consider the following class definitions: class maths { student student1; } class student { String name;…
  3. The check box group class is a subclass of the component class.
  4. The methods wait() and noify() are defined in
  5. Consider the following class definition.Class Student extends String{}What happens when we try to compile…
  6. When we implement an interface method, it should be declared as public.
  7. With javadoc, which of the following denotes a javadoc comment?
  8. putValue(...) method takes _____________________-
  9. Which of the following will produce a value of 10 if x = 9.7?
  10. Any class may be inherited by another class in the same package.
  11. Which of the following methods can be used to change the size of a size() *resize()
  12. We can add more than one class(es) at the time of compilation Java Beans.
  13. Which of the following classes are available in the java.lang package?
  14. A JSP file can be stored_________________
  15. The length of a string object 's1' can be obtained using the expression s1.length.
  16. The expression (x == y && a<b) is true If either x == y is true or a<b is true.
  17. forName() is a static factory method
  18. What is java -g used for?
  19. A variable declared inside the for loop control can not be referenced out side the loop.
  20. When we implement the Runnable interface, we must define the method
  21. Consider the following code snippet: try {int x=0; int y=50/x; System.out.println("Division by zero");…
  22. Which of the following methods can be used to draw the outline of a square?
  23. The break statement is required in the default case of a switch selection structure.
  24. What is error in the following class definitions? abstract class xy { abstract sum(int x, int y)…
  25. executeUpdate automatically updates data because___________
  26. Which javadoc tag is used to denote a comment for methods parameters?
  27. The keywords reserved but not used in the initial version of Java re:
  28. The default case is always required in the switch selection structure.
  29. All the bitwise operators have the same level of precedence in Java.
  30. A class may be both abstract and final.