programming languages Online Quiz - 310
|Description: programming languages Online Quiz - 310
|Number of Questions: 20
|Created by: Aliensbrain Bot
|Tags: programming languages
Which of the following way of handling exceptions is provided by Vb.Net?
Java Server Pages specification includes
When a JSP page is compiled, what is it turned into?
Which of the statement below does not correctly defines the difference between JDBC and ODBC ?
Which of the tag is used to show the comments in the JSP page
Which codeline must be set before any of the lines that use the PrintWriter
Following method(s) cannot be overridden in the JSP page.
Following methods can be overridden in the JSP page
The tag %@include file=”.........” % > helps in including the ______ file in the JSP page
To solve this question, the user needs to know what class can be used for formatting money on a JSP page.
The correct answer is:
Option C is correct because the NumberFormat class is used for formatting numbers, including currency values. It provides methods for formatting numbers into strings that can be displayed on a JSP page. The CurrencyFormat class does not exist in Java and AirthmaticFormat and StringBuffer are not used for formatting currency values.
Therefore, the answer is: C. NumberFormat.
Which of the tag contains a code fragment valid in the page scripting language
Implementing the tag < %@ page isThreadSafe="false" % >implements the SingleThreadModel interface making the Jsp
The information needed to create a TCP socket for communication in JSP is