Love all, trust a few, do wrong to none.
chaitanya karthikk wrote:The interviewer said that the answer is partially right. But the actual answer is "the main advantage/use of abstraction is to provide security to the code" and he was telling about some stuff related to showing the design to the client...
"Leadership is nature's way of removing morons from the productive flow" - Dogbert
Articles by Winston can be found here
chaitanya karthikk wrote:The interviewer said that the answer is partially right. But the actual answer is "the main advantage/use of abstraction is to provide security to the code" and he was telling about some stuff related to showing the design to the client. I did not understand it actually. Since it was an interview I did not ask him to explain in detail. I have read few threads in coderanch and few forums. But did not find any answer related to security with abstraction.
chaitanya karthikk wrote:
The interviewer said that the answer is partially right. But the actual answer is "the main advantage/use of abstraction is to provide security to the code" and he was telling about some stuff related to showing the design to the client.
Love all, trust a few, do wrong to none.
Mariah DeMarco wrote:You might think why is abstraction important? why can't we just use inheritance since CustomerFinances didnt have any abstract methods.
Mariah DeMarco wrote:if it werent abstract in main we'd be able to create CustomerFinances customer = new Customer();
Don't get me started about those stupid light bulbs. |