What can be used to extend an existing class so as to create a more specific class?

A. Inheritance
B. Encapsulation
C. Polymorphism
D. Abstraction

Answer: A

Computer Science & Information Technology

You might also like to view...

A PowerPoint template is saved with the .potx file extension

Indicate whether the statement is true or false

Computer Science & Information Technology

Case-Based Critical Thinking QuestionsCase 1The YumYum store sells ice cream. Single-scoops cost $2.00, double-scoops cost $2.80, and triple-scoops cost $3.50.To most efficiently keep track of the sales for each of the three serving sizes, you would use ____.

A. three completely separate unnested if statements B. nested if statements using AND logic C. nested if statements using OR logic D. four completely separate unnested if statements

Computer Science & Information Technology