Answer the following statements true (T) or false (F)
1. When you create an object from a class, you use a reference variable to reference that object.
2. You should never declare a class in its own source file.
3. Because classes are reference types, objects that are instances of a class are always passed by reference.
4. Writing each class in its own separate file makes your code more organized and helps keep your source code files to a manageable size.
1. TRUE
2. FALSE
3. TRUE
4. TRUE
You might also like to view...
Consider the declarations const int ARRAYSIZE = 7; and double length[ARRAYSIZE] = {7.8, 6.4, 4.9, 11.2};. How many elements will be initialized to zero?
A. none B. one C. two D. three
Who is credited with developing the World Wide Web?
A) Timothy Berners-Lee B) Vinton Cerf C) Mark Andreeson D) Bill Gates
In Word, the term, ____________________, refers to returning the formatting to the Normal style.
Fill in the blank(s) with the appropriate word(s).
What is the benefit of procedural abstraction?
What will be an ideal response?