What is meant by object type compatibility?
What will be an ideal response?
It is a characteristic of objects that enables you to use an instance of a subclass where an instance of the superclass is expected, but not the converse.
Computer Science & Information Technology
You might also like to view...
The recursion step should:
a. check for the base case. b. call a fresh copy of the recursive method to work on a smaller problem. c. make two calls to the recursive method. d. iterate until it reaches a termination condition.
Computer Science & Information Technology
Explain the following error message. Which filenames would a subsequent ls command display?
$ ls abc abd abe abf abg abh $ rm abc ab* rm: cannot remove 'abc': No such file or directory
Computer Science & Information Technology