Explain the “ISA” and “HASA” class relationships. How would you implement each in a class design?
read responses...
Explain the “ISA” and “HASA” class relationships. How would you implement each in a class design?
What is the difference between a copy constructor and an overloaded assignment operator?
What happens if you declare the only constructor in a class as private? Give an example of why you might want to do this.
Describe a use for virtual functions. How do virtual functions work? Are there any performance implications to virtual functions?
Sketch out the main classes you would use if you were creating a skeletal animation system. Discuss the relationships between the classes and the datatypes that you would use to represent the data (i.e. arrays vs. linked-lists, quaternions vs. matricies, etc).