Tag: web technology
Questions Related to web technology
-
Replace line 13 with private Map accountTotals = new HashMap();
-
Replace line 13 with private Map accountTotals = new HashMap();
-
Replace line 13 with private Map> accountTotals = new HashMap>();
-
Replace lines 17–20 with int total = accountTotals.get(accountName); if (total == null) total = 0; return total;
-
Replace lines 17–20 with Integer total = accountTotals.get(accountName); if (total == null) total = 0; return total;
-
Replace line 24 with accountTotals.put(accountName, amount);
-
ArrayList input = null; ArrayList output = null;
-
ArrayList input = null; List output = null;
-
ArrayList input = null; List output = null;
-
List input = null; ArrayList output = null;
-
List input = null; List output = null;
-
List input = null; List output = null;
-
Fragment I compiles
-
Fragment II compiles
-
Fragment III compiles
-
Fragment I executes without exception
-
Fragment II executes without exception
-
Fragment III executes without exception
Correct Option: A,B,C,D,F
-
compiletime error at lines 1,2,3,4,5
-
compiletime error at lines 2,3,4,5
-
compiletime error at lines 2,3,4
-
No error
-
declarations
-
scriptlets
-
expressions
-
All of the above
-
-
-
Both a and b
-
None of the above
-
jspInit()
-
jspservice()
-
jspDestroy()
-
All of the above
-
Static Content
-
Dynamic content
-
Both a and b
-
None of the above