Meke Reference code eke awla mokadda machan ?

Jasonbrody

Well-known member
  • Oct 17, 2021
    551
    412
    63
    Screenshot (58).png
     

    krisco

    Well-known member
  • May 28, 2022
    639
    692
    93
    "; " is missing too

    ----- give value directly -----

    Point point1 = new Point(1, 1);

    ------ or use variable -----

    int x = 1; // you can use float too
    int y = 1;

    Point point1 = new Point(x, y);
     
    • Like
    Reactions: Jasonbrody

    Jasonbrody

    Well-known member
  • Oct 17, 2021
    551
    412
    63
    machan x,y define karanna kalin like int x=2: wage
    mama try karanne eclipse walin
    it works..intellJ wala hints neme neda e pennnanne.?
    thanks a lot, machan, need to assign values directly as follows:
    Point point1 = new Point(1, 1);

    Now it works.

    "; " is missing too

    ----- give value directly -----

    Point point1 = new Point(1, 1);

    ------ or use variable -----

    int x = 1; // you can use float too
    int y = 1;

    Point point1 = new Point(x, y);
    Thanks machan .......

    ----- give value directly -----

    Point point1 = new Point(1, 1);

    Yes after this, it works machan.
    ------ Post added on Nov 3, 2022 at 4:23 PM