Answer the following questions true (T) or false (F)
1. The type of the variable naming an object determines which method names can be used in an invocation with that calling object.
2. Downcasting should be used only in situations where it makes sense.
1. True
2. True
Computer Science & Information Technology
You might also like to view...
The ________ event is triggered each time you enter data into a field on a form
A) After Update B) Select C) On Close D) On Click
Computer Science & Information Technology
I have a pointer, nodePtr to a node that is a struct in a linked list. I want to access the member named data. I do this using the expression
a. nodePtr.data b. nodePtr->data c. *nodePtr.data d. (*nodePtr).data e. data is private, you can’t access data under any circumstances.
Computer Science & Information Technology