Assigning an object of a derived class to a variable of a base class is called:

(a) static binding
(b) dynamic binding
(c) upcasting
(d) downcasting

(c) upcasting

Computer Science & Information Technology

You might also like to view...

What is stored inside the variable value after the following line of code is executed?

``` var value = navigator.appVersion; ``` a) It stores the type of browser that the user is using. b) It stores an integer representing the version of the browser. c) It stores a string representing the version of the browser and other information. d) The navigator object does not contain an attribute named appVersion.

Computer Science & Information Technology

List the four categories into which classes fall.

What will be an ideal response?

Computer Science & Information Technology