Answer the following questions true (T) or false (F)

1. Namespaces may not be nested.

2. During name resolution, nested namespaces behave like nested blocks.

1. False
Explanation: Namespaces, like classes, can be nested to arbitrary depth. Nested namespaces collect together subcollections of names. (The names should be related other than just by having been collected and placed in that collection.)
2. True
Explanation: When a name is used in a nested namespace, the surrounding namespace is searched for a declaration.

Computer Science & Information Technology

You might also like to view...

Periods are used to mark the end of SQL statements

Indicate whether the statement is true or false

Computer Science & Information Technology

Match the following terms to their meanings:

I. HTTP II. Web browser III. URL IV. Domain name V. IP address A. software used to format and display webpages B. defines the address of documents and resources on the web C. unique set of numbers used to identify a web server D. Web protocol used to define how messages are formatted and transmitted E. user-friendly way to represent an IP

Computer Science & Information Technology