Answer the following statements true (T) or false (F)
1. If a class does not provide a method that you need, you can write your own custom method for an object of that class.
2. When you create a custom method for an object, it is automatically added to that object’s class.
3. The parameter of a custom method cannot be an object.
4. Additional properties can be added to an object by creating class-level variables.
5. Inheritance allows programmers to reuse code.
1. TRUE
2. FALSE
3. FALSE
4. TRUE
5. TRUE
You might also like to view...
Write a CSS rule that gives all H1 and H2 elements a padding of .5 ems, a grooved border style and a margin of .5 ems.
What will be an ideal response?
The ____ of an image are represented by the center area of the Curves grid.
a. hybrids b. shadows c. midtones d. highlights
In a tree, a ____ is a node with successor nodes.
A. root B. child C. descendent D. parent E. sibling
The structure pointer operator is evaluated from left to right.
Answer the following statement true (T) or false (F)