What is the purpose of the new operator?
What will be an ideal response?
The new operator is used to create an object of a class and associate the object with the variable that names it. Memory is also allocated for that object.
You might also like to view...
Write code to define a C-string aString variable, of size 10 but do not initialize it. Use a library C-string library function to copy the C-string literal, “Hello” into aString.
What will be an ideal response?
One reason to use the class attribute is to assign the same _____ to multiple elementsthat belong to the same class.
A. rule B. format C. style D. theme
WYSIWYG stands for ________
Fill in the blank(s) with correct word
In a paged and segmented system using combined associative/direct mapping, ________.
a) missing-segment faults, segment-overflow exceptions and segment-protection exceptions can never occur during dynamic address translation b) the more tables a system maintains in main memory, the fewer processes it can support c) the associative memory is unimportant to the efficient operation of the dynamic address translation d) the benefit of maintaining only a few of the tables in main memory at any one time is that address translation proceeds faster at execution time