First of all , thank you for this video. And Boss, can you please release the part 2 of this video?
@kashishbansal30243 ай бұрын
Hi Mohit I have two questions 1. If the interviewer asked us why we actually need the interface or inheritance when we can use normal class also. We can call them in our class and not in the inherited way or the interface way. What will be the exact answer that we should give to an interviewer? 2. When can we know that like in this scenario we have to use inheritance or interface in our practical project?
@SalesforceandInterviewsInHindi3 ай бұрын
When we do a large implementation, we need functionalities which will be used by multiple classes and we leverage OOPS features in such scenarios. the decision to use it or not ultimately comes down to the point that will it make our life easier or not.. yes we can write separate class and method but that will ultimately make us do more repetitive work again and again plus it will also create other problems.
@kashishbansal30242 ай бұрын
@@SalesforceandInterviewsInHindi Thank you so much for clarifying