Answered You can hire a professional tutor to get the answer.

QUESTION

Programming languages (5 points). Consider the following five sentences. We program a card game in C++ by first building a Card object, a Deck object...

Programming languages (5 points). Consider the following five sentences.

1. We program a card game in C++ by first building a Card object, a Deck object and a Player object.

2. We declare instance variables to be final in Java.

3. We declare instance variables to be private in Java.

4. We use a function as an argument to another function in Python.

5. public class ST, Value> implies that whatever data type we select as a Key will have a compareTo() method.

By writing a number in the blank to the left of each phrase (below), match each of the above sentences with the programming language capability with which it is best associated. Use each number once and only once.

______ A. Immutability.

______ B. Functional programming.

______ C. Interface inheritance.

______ D. Data abstraction.

______ E. Encapsulation.

Show more
LEARN MORE EFFECTIVELY AND GET BETTER GRADES!
Ask a Question