I am trying to add objects in classes however when i am using the add object method its giving error but i have other programs which have exact same method and no error so i am not sure what i am doing wrong.Can someone please advise when you don't have any code in the classes and you are trying to add objects on world with the add object method then what do you need to make sure ?

