0

What’s the point of using interfaces?

Why would someone define a template for a class? Wouldn’t you already know what you want in the class?

7th Nov 2020, 10:39 AM
LouKel
LouKel - avatar
1 Answer
+ 7
Imagin I asked you to create an extra person object for my records using the interface I provided I wouldent need tell you what to implement because its already there if you missed something the system would tell you all you'll just need to put the correct details in for that person 🙂 https://code.sololearn.com/c9Z11NWrwBao/?ref=app
7th Nov 2020, 11:02 AM
D_Stark
D_Stark - avatar