# I cannot create a point in java

**URL:** <https://forum.codewithmosh.com/t/i-cannot-create-a-point-in-java/7778>\
**Category:** Java\
**Created:** [October 6, 2021, 8:04am UTC](https://forum.codewithmosh.com/t/i-cannot-create-a-point-in-java/7778 "2021-10-06T08:04:02Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![JINGJINGPAN](https://avatars.discourse-cdn.com/v4/letter/j/58956e/32.png) [@JINGJINGPAN](https://forum.codewithmosh.com/u/JINGJINGPAN)\
**Post date:** [October 6, 2021, 8:04am UTC](https://forum.codewithmosh.com/t/i-cannot-create-a-point-in-java/7778/1 "2021-10-06T08:04:02Z")

</div>

hi! I just follow Mosh’s step to create a point in java; however I met many problems in my code. What should I do to solve such problems?

 ![截屏2021-10-06 下午3.58.43](https://us1.discourse-cdn.com/flex020/uploads/codewithmosh/original/2X/2/2e176b267414d48c618978660b2bd2f1bd309bf4.jpeg)

---

<div class="post-metadata">

**Author:** ![SAM](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.codewithmosh.com/sam/32/167_2.png) [@SAM](https://forum.codewithmosh.com/u/SAM)\
**Post date:** [October 6, 2021, 3:49pm UTC](https://forum.codewithmosh.com/t/i-cannot-create-a-point-in-java/7778/2 "2021-10-06T15:49:04Z")

</div>

This is probably the most frequently asked question in this category. Don’t write the parameter names when calling a constructor or a method.

---

<div class="post-metadata">

**Author:** ![JINGJINGPAN](https://avatars.discourse-cdn.com/v4/letter/j/58956e/32.png) [@JINGJINGPAN](https://forum.codewithmosh.com/u/JINGJINGPAN)\
**Post date:** [October 7, 2021, 12:00pm UTC](https://forum.codewithmosh.com/t/i-cannot-create-a-point-in-java/7778/4 "2021-10-07T12:00:06Z")

</div>

Thanks a lot. Following your steps suggested, the problem has been solved. 😁
