Search:

Type: Posts; User: Norm

Search: Search took 0.08 seconds.

  1. Replies
    8
    Views
    1,563

    [SOLVED] Re: I'm not sure what I need to do next.

    Have you fixed the problem? Does the code compile now?

    What relationship is there between a double (the value in z) and a Parent object?
    Is there a double value in the Parent object you want to...
  2. Replies
    8
    Views
    1,563

    [SOLVED] Re: I'm not sure what I need to do next.

    Look at this line. It defines the myShape array to be of type Parent:
    Parent myShape[] = new Parent[10];

    Is your editor's Find function not working? If you edit your code and do a Find on myShape...
  3. Replies
    8
    Views
    1,563

    [SOLVED] Re: I'm not sure what I need to do next.

    Do you understand what the compiler is complaining about?
    A double value is not an object of type Parent.

    What datatype is z?
    What datatype is the myShape array?
  4. Replies
    8
    Views
    1,563

    [SOLVED] Re: I'm not sure what I need to do next.

    Please post the full text of the error messages.


    You get that when the right side of an assignment statement is a different type from the left side.
    For example:
    String aStr = 123; // String...
Results 1 to 4 of 4