Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

value objects in class 6. An empty parameter constructor assigns same to the sam

ID: 3571088 • Letter: V

Question

value objects in class 6. An empty parameter constructor assigns same to the same J (a True (b) False 7. Member function defined outside the class can be accessed by operator (a True False 8. A class code can't be re-used by other programs (a) True False Member functions in a class can be accessed only by objects of class (a) True (b) False 10. lass concept makes the real world problems more complex to solve (a) True False 11. Functions in a class can return maximum one value at one function call (a) True (b) False 12. objects of a class can access public class data using. (a) Scope resolution operator (b) Dot operator e Both (a) and (b) can be used (d) None can be used

Explanation / Answer

1-true

2false

3-false(A class can have more than one constructor if they have different parameters. Adestructor doesn't have parameters, so there can be only one.)

4.true

5.true(using constructor member data can be initailized)

6-true

7-true

8-false

9-false-(static member function is not accessed by object of the class)

10-false

11-true

12-true