Search:

Type: Posts; User: maple1100

Search: Search took 0.11 seconds.

  1. Replies
    6
    Views
    1,166

    Re: Java abstract

    I forgot about calling the method, I thought it would call itself for some reason. Thanks you so much!
  2. Replies
    6
    Views
    1,166

    Re: Java abstract

    It print out nothing. Since I "setType("Math"); " won't it print out "Math"?
  3. Replies
    6
    Views
    1,166

    Re: Java abstract

    public class testHomework
    {
    public static void main(String[]args)
    {
    MyMath math = new MyMath();


    System.out.println(math.toString());

    }
  4. Replies
    6
    Views
    1,166

    Java abstract

    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...
Results 1 to 4 of 4