+ 4
can anyone tell me what is the abstruct class ?? n how I can use it ?? n what I can use it for ????
2 ответов
+ 2
Well, think about fishes.
All fishes is a fish, and share some common characteristics.
But no fish is just a fish, they all have a certain species.
Seebass and salmon is a fish, therefore they inherit fish.
Fish is abstract as eath species needs its own class and fish is the common abstract class.
+ 1
thanks alot but can u tell me when I can use it n what for ??