Search:

Type: Posts; User: bango

Search: Search took 0.31 seconds.

  1. Re: how do you know what parameters go inside the parentheses when creating a new object?

    Yeah I figured it out after I learnt about constructor :cool:overloading. Thank you
  2. how do you know what parameters go inside the parentheses when creating a new object?

    i am beginning to learn programming and started java.
    so sometimes i see codes like:



    Shape ball= new Shape();.// takes no parameter
    Shape ball= new Shape(1,2); //takes parameter

    So...
Results 1 to 2 of 2