Solved

Match Each Term with a Statement Below

Question 41

Matching

Match each term with a statement below.

Premises:
Used when you want no outside classes to be able to use a data field, except classes that are children of the original class
A class from which you cannot create any concrete objects, but from which you can inherit
A method that has the same name as a class and that establishes an object
When a class contains objects of another class
Errors in object-oriented languages
Sends an Exception object out of the current code block or method so it can be handled elsewhere
Collections of classes that serve related purposes
A block of code you attempt to execute while acknowledging that an exception might occur
Contains the actions you require when an instance of a class is destroyed
A segment of code that can handle an exception that might be thrown by the try block that precedes it
Responses:
destructor
catch block
protected access specifier
abstract
throw statement
libraries
composition
try block
constructor
exceptions

Correct Answer:

Used when you want no outside classes to be able to use a data field, except classes that are children of the original class
A class from which you cannot create any concrete objects, but from which you can inherit
A method that has the same name as a class and that establishes an object
When a class contains objects of another class
Errors in object-oriented languages
Sends an Exception object out of the current code block or method so it can be handled elsewhere
Collections of classes that serve related purposes
A block of code you attempt to execute while acknowledging that an exception might occur
Contains the actions you require when an instance of a class is destroyed
A segment of code that can handle an exception that might be thrown by the try block that precedes it
Related Questions

Unlock this Answer For Free Now!

View this answer and more for free by performing one of the following actions

qr-code

Scan the QR code to install the App and get 2 free unlocks

upload documents

Unlock quizzes for free by uploading documents