I forgot about calling the method, I thought it would call itself for some reason. Thanks you so much!
Type: Posts; User: maple1100
I forgot about calling the method, I thought it would call itself for some reason. Thanks you so much!
It print out nothing. Since I "setType("Math"); " won't it print out "Math"?
public class testHomework
{
public static void main(String[]args)
{
MyMath math = new MyMath();
System.out.println(math.toString());
}
Could someone help me figure out what am I missing? It not printing out "Math" in my main class. Thanks
public abstract class Homework
{
private int pagesRead;
private String...