0
What is a concrete class?
I’d appreciate it if someone showed me an example and explained how it works.
1 Odpowiedź
+ 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 🧟♀️😉