Tag: web technology

Questions Related to web technology

  1. Replace line 13 with private Map accountTotals = new HashMap();

  2. Replace line 13 with private Map accountTotals = new HashMap();

  3. Replace line 13 with private Map> accountTotals = new HashMap>();

  4. Replace lines 17–20 with int total = accountTotals.get(accountName); if (total == null) total = 0; return total;

  5. Replace lines 17–20 with Integer total = accountTotals.get(accountName); if (total == null) total = 0; return total;

  6. Replace line 24 with accountTotals.put(accountName, amount);


Correct Option: B,E,F
  1. ArrayList input = null; ArrayList output = null;

  2. ArrayList input = null; List output = null;

  3. ArrayList input = null; List output = null;

  4. List input = null; ArrayList output = null;

  5. List input = null; List output = null;

  6. List input = null; List output = null;


Correct Option: B,E,F
  1. declarations

  2. scriptlets

  3. expressions

  4. All of the above


Correct Option: D
  1. Both a and b

  2. None of the above


Correct Option: C
  1. jspInit()

  2. jspservice()

  3. jspDestroy()

  4. All of the above


Correct Option: D
  1. Static Content

  2. Dynamic content

  3. Both a and b

  4. None of the above


Correct Option: C