Can somebody please explain why this error came when I executed the accept method and the solution for the same
Attachments:
![](https://hi-static.z-dn.net/files/d0f/5e7071af15af9f2522dfb615b682c018.png)
Answers
Answered by
1
You didn't allocate memory to the object using new keyword or simply put you didn't initialize the object, i.e., account myaccount = new account( );
Similar questions