consolidate all repos to one for archive
This commit is contained in:
11
semester_2/programiranje_2/primeri/Example09/Animal.h
Normal file
11
semester_2/programiranje_2/primeri/Example09/Animal.h
Normal file
@@ -0,0 +1,11 @@
|
||||
|
||||
#ifndef EXAMPLE09_ANIMAL_H
|
||||
#define EXAMPLE09_ANIMAL_H
|
||||
|
||||
class Animal { // abstract class
|
||||
public:
|
||||
virtual ~Animal() {}
|
||||
virtual void voice() const = 0; // abstract method
|
||||
};
|
||||
|
||||
#endif //EXAMPLE09_ANIMAL_H
|
||||
Reference in New Issue
Block a user