Code containers, such as namespaces, classes, and methods, use ____________ to enclose code.
a. braces ({})
b. asterisks (**)
c. parentheses (())
d. brackets ([])
a. braces ({})
You might also like to view...
Match each term with a statement below.
A. Errors in object-oriented languages B. When a class contains objects of another class C. A class from which you cannot create any concrete objects, but from which you can inherit D. A block of code you attempt to execute while acknowledging that an exception might occur E. Contains the actions you require when an instance of a class is destroyed F. Collections of classes that serve related purposes G. A segment of code that can handle an exception that might be thrown by the try block that precedes it H. Used when you want no outside classes to be able to use a data field, except classes that are children of the original class I. Sends an Exception object out of the current code block or method so it can be handled elsewhere J. A method that has the same name as a class and that establishes an object