Search:

Type: Posts; User: jps

Search: Search took 0.11 seconds.

  1. Replies
    5
    Views
    2,063

    Re: Inheritance trouble understanding how to use it?

    Glad to hear you finished your project!
    Before long, polymorphism will just feel natural in your code..
    Keeping track of the many layers as your projects get bigger and bigger will remain easy, as...
  2. Replies
    5
    Views
    2,063

    Re: Inheritance trouble understanding how to use it?

    java.lang.NullPointerException is saying you are trying to read a variable that has not been initialized.
    If you read the error output closely it will tell you which variable and when.
    Hope that...
  3. Replies
    5
    Views
    2,063

    Re: Inheritance trouble understanding how to use it?

    Sure, your answer is in your question.



    Sounds good to me.
    -edit- By "good" I mean, correct, you can not store a double in a slot for an object.


    Is there another way to access the value...
Results 1 to 3 of 3