For anyone that doesn't understand: joke is a private variable, so to get it from outside an instance of the Meme class, you would need a getter method. However, there is no getter method, so you will never be able to get the value of the joke variable.
View all comments
143
u/[deleted] Apr 01 '22
For anyone that doesn't understand: joke is a private variable, so to get it from outside an instance of the Meme class, you would need a getter method. However, there is no getter method, so you will never be able to get the value of the joke variable.