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. A variable declared inside the for loop control can not be referenced out side the loop.
  2. Which of the following methods can be used to change the size of a size() *resize()
  3. A JSP file can be stored_________________
  4. Consider the following statements: int x = 10, y = 15; x = ((x < y) ? (y + x) : (y - x); What will…
  5. A method declared as static can not access non-static class members.
  6. Give file is a file object, which of the following are legal statements to create a new file.
  7. The default case is always required in the switch selection structure.
  8. If you want to assign a value of 99 to the variable year, then which of the following lines can be used…
  9. Which of the following string can be used as mode string for creating a RandomAccessFile object?
  10. What is wrong in the following class definitions? abstract class print { abstract show();} class…
  11. class.forName(...) creates an instance of java ODBC driver
  12. A string object can not be modified after it is created.
  13. Consider the following class definition.Class Student extends String{}What happens when we try to compile…
  14. Any class may be inherited by another class in the same package.
  15. The keywords reserved but not used in the initial version of Java re:
  16. What is error in the following class definitions? abstract class xy { abstract sum(int x, int y)…
  17. The setBackground() method is part of the class
  18. Which of the following control expressions are valid for an if statement?
  19. When we invoke repaint () for a Component, the AWT invokes the method:
  20. Java is fully object oriented programme.
  21. The name of a Java program file must match the name of the class with the extension Java.
  22. In a single Servlet class we can use____________
  23. Which of the following are not keywords?
  24. Which javadoc tag is used to denote a comment for methods parameters?
  25. Java always provides a default constructor to a class.
  26. Two methods cannot have the same name in Java.
  27. Which of the following keywords are used to control access to a class member?
  28. Which of the following represent legal flow control statements?
  29. For all insert, update, delete, query operations on a database, ResultSet object creation is mandatory.
  30. Which of the following statements are true?