1. A class is to an object as
a pencil is to a piece of paper
Shakespeare is to A Midsummer Night’s Dream
a recipe is to a cake
memory is to a computer
2. What operator creates an object?
3. Consider the TV example from 9.3
- TV livingRoom = null;
- TV den;
- new TV();
- den = new TV();
Enter the line number where den is declared. Enter x ifthere is no such line.
4. Consider the TV example from 9.3
- TV livingRoom = null;
- TV den;
- new TV();
- den = new TV();
Enter the line number of the first creation of an object. Enterx if there is no such line.
5. Consider the TV example from 9.3
- TV
OR
PayPal Gateway not configured
ORPayPal Gateway not configured