I see the mistake in my posted code and fixed it again. Sorry for the confusion!
Is there a way to call the getNum() method in class B? My class A is an abstract class and the exercise forbids me...
Type: Posts; User: BambiWithPMS
I see the mistake in my posted code and fixed it again. Sorry for the confusion!
Is there a way to call the getNum() method in class B? My class A is an abstract class and the exercise forbids me...
Oh! I didn't know that. Thank you! It is fixed now.
Hello guys, I just started self teaching and encounter a problem that requires me to access a variable from a different class.
Here's a shortened version of what I have so far...
abstract...