0
abstractions??
Who do abstractions work? It's complicated I didn't get it.
2 Réponses
+ 4
abstraction: to make simple; i.e animal is an abstraction of dog cat cow etc
class animal
{
name
weight
etc
}
class animal::dog
{
speak() {woof}
}
class animal::cat
{
speak() {meow}
}
all animals share name weight etc.. simplify making lots of different animals..
+ 2
Have you looked for tutorials on Google?