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. Consider the following class definitions: class maths { student student1; } class student { String name;…
  2. When we implement the Runnable interface, we must define the method
  3. Which of the following are keywords?
  4. Message-Driven beans act as a listener for the Java Message Service API, processing messages synchronously
  5. What does the following line of code do?TextField text=new TextField(10);
  6. Connection, Statement are interfaces and ResultSet is a class.
  7. Any class may be inherited by another class in the same package.
  8. A static class method can be invoked by simply using the name of the method alone.
  9. Session bean
  10. Which of the following command lines options generates documentation for all classes and methods?
  11. What is wrong in the following class definitions? abstract class print { abstract show();} class…
  12. The import statement is always the first no comment statement in a Java program files.
  13. The concept of multiple inheritance is implemented in Java by
  14. Which of the following string can be used as mode string for creating a RandomAccessFile object?
  15. In RMI before running the client program we must start RMI Registry.
  16. The length of a string object 's1' can be obtained using the expression s1.length.
  17. The modulus operator (%) can be used only with Integer operands.
  18. Servlet has ___________
  19. When X is a positive number the operations x>> 2 and x>>>2 both produce the same result.
  20. A class may be both abstract and final.
  21. Which of the following methods can be used to draw the outline of a square?
  22. Servlet can have ___________
  23. Which of the following control expressions are valid for an if statement?
  24. Which of the following classes are available in the java.lang package?
  25. Objects are passed to a method by use of call-by-reference.
  26. executeUpdate automatically updates data because___________
  27. Which of the following are the wrapper classes?
  28. Which are the valid ways to create DataInputStream streams?
  29. It is an error if a class with one or more abstract methods is not explicitly declared abstract.
  30. For all insert, update, delete, query operations on a database, ResultSet object creation is mandatory.