Home

A JSP file can be stored_________________

A. With the extension .jsp in servlets folder of the jws

B. With the extension .html in public_html folder of the jws

C. With the extension .jsp in public_html folder of the jws

D. None of the above.

You can do it
  1. DriverManager.getConnection("jdbc:odbc:dsn_name") method does not depend on the class.forName(...) method.
  2. Which of the following methods can be used to change the size of a size() *resize()
  3. Which key word can protect a class in package from accessibility by the classes outside the package?
  4. It is an error to catch the same type of exception in two different catch blocks associated with a particular…
  5. It is an error if a class with one or more abstract methods is not explicitly declared abstract.
  6. Submit button always fires doPost(...)
  7. JSP files creates ________________
  8. The expression (x == y && a<b) is true If either x == y is true or a<b is true.
  9. The break statement is required in the default case of a switch selection structure.
  10. When we implement the Runnable interface, we must define the method
  11. An individual array element that is passed to a method and modified in that method will contain the…
  12. Servlet can have ___________
  13. The use of protected keyword to a member in a class will restrict its visibility as follows:
  14. A variable declared inside the for loop control can not be referenced out side the loop.
  15. If you want to assign a value of 99 to the variable year, then which of the following lines can be used…
  16. Which of the following are keywords?
  17. It is an error to have a method with the same signature in both the super class and its subclass.
  18. DataInput is
  19. In order to connect to a database through java program we must create _______-
  20. If m and n are int type variables, what will be the result of the expression'm % n' when m = -14 and…
  21. Servlet has ___________
  22. What is wrong in the following class definitions? abstract class print { abstract show();} class…
  23. Which are the valid ways to create DataInputStream streams?
  24. Which of the following statements are true?
  25. Which of the following command lines options generates documentation for all classes and methods?
  26. Consider the following statements: int x = 10, y = 15; x = ((x < y) ? (y + x) : (y - x); What will…
  27. Consider the following class definitions: class maths { student student1; } class student { String name;…
  28. Which of the following represent legal flow control statements?
  29. Give file is a file object, which of the following are legal statements to create a new file.
  30. Declarations can appear anywhere in the body of a Java method.