What elements of oo design are most prone to abuse? How would you mitigate that?
Answer / Rajnish Kumar Mahiwal
Object-oriented design can be prone to overuse of inheritance, which can lead to tight coupling and fragile class hierarchies. To mitigate this, favor composition over inheritance, implement interfaces instead of subclassing, and use dependency injection for looser coupling. Liskov substitution principle should also be followed.
| Is This Answer Correct ? | 0 Yes | 0 No |
Explain what is interrupt latency? How can you reduce it?
Explain scope of static variables?
what are buses used for communication in embedded system?
Tell me what is the function of simple thread poll in embedded system?
Which parameters decide the size of data type for a processor?
Tell me what does dma address will deal with?
Tell me when one must use recursion function? Mention what happens when recursion functions are declared inline?
As you know a vast majority of high performance embedded systems today use risc architecture why?
Tell me what are the different types of buses used by the embedded systems?
what is the difference between embedded systems and the system in which rtos is running?
Tell me what is isr?
How does the interrupt architecture works?