Nevermind. I ended up writing the method for each subclass, and defining it as being an abstract method in the super class. This way I could refer to the method using an object from the superclass as...
Type: Posts; User: Shaybay92
Nevermind. I ended up writing the method for each subclass, and defining it as being an abstract method in the super class. This way I could refer to the method using an object from the superclass as...
If you want a method to intake an object of a superclass type, but you want it to do things differently depending on what subclass it is, is it possible to take input as the superclass, and then...