Question OOP-ABS-0075
HardWhat level of abstraction should a method such as processOrder() keep?
- A.
None
- B.
As many levels as possible
- C.
Sign up free to see the answer and a step-by-step explanation.
Popular companies
Prepare company by company
Hiring pattern, syllabus, past questions and mocks for each company.
All companiesPractice by subject
Abstraction and Interfaces question
What level of abstraction should a method such as processOrder() keep?
None
As many levels as possible
Sign up free to see the answer and a step-by-step explanation.
Only low-level byte handling
One level: call steps like validate(), charge() and ship(), not mix them with low-level details