Tag: programming languages

Questions Related to programming languages

  1. Create separate configuration files for each locale

  2. Specify an locale for a definition

  3. Either A or B

  4. None


Correct Option: A
  1. Create separate configuration files for each locale

  2. Specify a locale for a form-set

  3. Either A or B

  4. None


Correct Option: B
  1. Model

  2. View

  3. Controller

  4. ViewController


Correct Option: C
  1. a) Embedding of Java code in HTML pages

  2. b) Platform independence

  3. c) Creation of database-driven Web applications

  4. d) Server-side programming capabilities


Correct Option: A
  1. A blank page will be displayed.

  2. A page with the text Welcome is displayed

  3. An exception will be thrown because the implicit out object is not used

  4. An exception will be thrown because PrintWriter can be used in servlets only


Correct Option: B

What are the life-cycle methods of JSP?

  1. jspInit()

  2. jspService()

  3. jspDestroy()

  4. jspEnd()


Correct Option: A,B,C

By default fields in a C++ class

  1. Public

  2. Private

  3. Protected

  4. Unintialized


Correct Option: B