Tag: technology

Questions Related to technology

  1. Open Data Base Connectivity

  2. Open Data Base Connection

  3. Oracle Data Base Connectivity

  4. Oracle Data Base Connection


Correct Option: A
  1. Ctrl + E

  2. Alt + E

  3. Shift + E

  4. Alt + Ctrl + E


Correct Option: A
  1. Connection

  2. Command

  3. Parameter

  4. Error

  5. Field

  6. DSN


Correct Option: A,B,C,D,E
  1. Define a listener class implementing HttpSessionListener and whenever an object is added to Http Session object, keep track of the number of instances.

  2. Define a listener class implementing HttpSessionBindingListener and in the valueBound() method, keep track of the number of instances being added in a static variable.

  3. It is highly impossible to keep track the number of objects being added to a Http Session in a Web Application.

  4. The Servlet API provides direct support for keeping track the object instances.


Correct Option: B
  1. Use the method 'HttpServletRequest.getParameterNames()' which will return an enumeration of parameter names.

  2. Use the method 'HttpServletResponse.getParameterNames()' which will return an enumeration of parameter names.

  3. Use the method 'HttpServletRequest.getAllParameters()' which will return an enumeration of parameter names.

  4. There is no direct support in the Servlet API to retrieve the name of all the parameters sent by the client.


Correct Option: A
  1. The value of the 'test' variable will be 2.

  2. The value of the 'test' variable will be 0.

  3. The value of the 'test' variable will be 1.

  4. The variable 'test' must be declared at global scope, else a run-time error will occur


Correct Option: C