Java Reference
In-Depth Information
Quiz
Review today's material by taking this three-question quiz.
Questions
1. Which popular Internet protocol is not required by XML-RPC?
a. HTML
b. HTTP
c. XML
2. Which XML-RPC data type would be best suited to hold the number 8.67?
a. boolean
b. double
c. int
3. Which XML tag indicates that the data is an XML-RPC request?
a. methodCall
b. methodResponse
c. params
Answers
1. a. XML-RPC uses HTTP (Hypertext Transfer Protocol) to transport data that is
formatted as XML (Extensible Markup Language). HTML (Hypertext Markup
Language) is not used.
2. b. All floating-point numbers such as 8.67 are represented by the double type in
XML-RPC. There are not two different floating-point types, as there are in Java
( float and double ).
3. a. The methodCall tag is used only in requests, methodResponse is used only in
responses, and params is used in both.
Certification Practice
The following question is the kind of thing you could expect to be asked on a Java pro-
gramming certification test. Answer it without looking at today's material or using the
Java compiler to test the code.
 
Search WWH ::




Custom Search