Code issues have fixed. Have added draw method, destructor and protectedmembers