Explain the ISA and HASA class relationships. How would you
implement each in a class design?
Answer Posted / guest
A specialized class "is" a specialization of another class
and, therefore, has the ISA relationship with the other
class.
This relationship is best implemented by embedding an
object of the Salary class in the Employee class.
| Is This Answer Correct ? | 9 Yes | 13 No |
Post New Answer View All Answers
Explain the isa and hasa class relationships.
Differentiate between a constructor and a method in C++.
What is difference between malloc()/free() and new/delete?
Explain the difference between using macro and inline functions?
If you hear the cpu fan is running and the monitor power is still on, but you did not see anything show up in the monitor screen. What would you do to find out what is going wrong?
Can create new c++ operators?
Is c++ an integer?
What are guid? Why does com need guids?
How does java differ from c and c++?
what is software cycle? What is a mission critical system ? What is the important aspect of a real-time system ? Explain the difference between microkernel and macro kernel. Give an example of microkernel.Why paging is used ? Which is the best page replacement algo and Why ? What is software life cycle ? How much time is spent usually in each phases and why Which one do U want to work if selected in Honeywell ? Which are the different types of testing ? What is a distributed system ? Some questions about CSP. Which languages do U know ? What are the differences between Pascal and C. questions from Compiler construction and Lisp. Which are the different computer architecture? What is the requirement in MIMD ? What is the difference between RISC and CISC processors ? Difference between loosely coupled and tightly coupled systems ? What is an open system?
What is class in c++ with example?
How would you use the functions memcpy(), memset(), memmove()?
What will strcmp("Astring", "Astring"); return a) A positive value b) A negative value c) Zero
What is the cout in c++?
Why ctype h is used in c++?