Once the ServerSocket is created, the server can listen indefinitely (or block) for an attempt by a client to connect. This is accomplished with a call to the ServerSocket method __________.

a. connect.
b. block.
c. accept .
d. listen.


C

Computer Science & Information Technology

You might also like to view...

MC Python programmers can construct GUIs using the______ (TCL) program.

a) Tool Command Language. b) Tool Class Library. c) Tool Component Library. d) None of the above.

Computer Science & Information Technology

To declare a method as static, place the keyword static before ________ in the method’s declaration.

a. the method modifier b. the return type c. the method name d. the argument list

Computer Science & Information Technology

Parameter means:

What will be an ideal response?

Computer Science & Information Technology

For each of the following, see if you can figure out the representation in terms of bits and bytes.

(a) Internet addresses are four numbers, each between 0 and 255. How many bits are in an Internet address? (b) In the ancient programming language Basic, lines can be numbered, each one between 0 and 65,535. How many bits are needed to represent a line number? (c) Each pixel’s color has three components, red, green, and blue, each of which can be between 0 and 255. How many bits are needed to represent a pixel’s color? (d) A string in some systems can only be up to 1,024 characters. How many bits are needed to represent the length of a string?

Computer Science & Information Technology