Void draw 0 j a file

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: e declared using a(an) ___________________________________. h. _________________________________ are used to implement virtual methods at run- time i. In C++, a method with the following type of declaration is called a _______________________________ method. void draw() = 0; j. A _____________________________ file in Java allows a collection of classes to be bundled together and treated like a single file for execution, much like a binary file in C/C++. 2. (21 points) Short Answer: Answer each of the following questions in a single sentence unless stated otherwise. a. What is the difference between implementation inheritance and interface inheritance? b. Why is it always okay to use a subtype object where a supertype object is expected? c. What is the advantage of polymorphi...
View Full Document

Ask a homework question - tutors are online