When you are deleting the class, you should be getting the message like: “Would you like the resource to be deleted from the server ?” Then you have to click on “yes” then only the class will be deleted. I think you are clicking on “no” that’s why it is not deleted from server.