How to use Inheritance and constructor overloading

Dependencies:   mbed

Revision:
0:4731d40a338a
Child:
1:6289618eacd1
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Brother.h	Wed Aug 05 17:27:08 2015 +0000
@@ -0,0 +1,22 @@
+#ifndef Brother_H
+#define Brother_H
+
+#include "mbed.h"
+
+class Brother{
+       
+    private:
+        uint32_t age;   
+    
+    public:
+        uint32_t getAge(void);
+        void setAge(uint32_t);
+        Brother();
+        Brother(uint32_t myAge);
+    
+    protected:
+        //TODO    
+    
+    };
+
+#endif
\ No newline at end of file