0

What is a concrete class?

I’d appreciate it if someone showed me an example and explained how it works.

5th Aug 2019, 8:09 PM
Samuel
Samuel - avatar
1 Réponse
+ 3
Basicly if you can create an object of class it's a concreate class this class should know what it is and what it can do, it knows its workings. The opposite to this would be an abstract class which basicly means that this class knows what an animal has but it's not sure what animal it is, as animal is too abstract, and for this reason it shouldn't be able to complete its methods or allowed to be instanatated, as an animal object would look terrifying 🧟‍♀️😉
5th Aug 2019, 10:51 PM
D_Stark
D_Stark - avatar