Question
When Abstract methods are used?
Answer
If you want a class to contain a particular method but you want the actual implementation of that method to be determined by child classes, you can declare the method in the parent class as abstract.
š² Practice Offline on Mobile: Download the free QA Automation & SDET Prep app on Google Play & App Store.