# Cannot resolve symbol "prompt"

**URL:** <https://forum.codewithmosh.com/t/cannot-resolve-symbol-prompt/3952>\
**Category:** Java\
**Created:** [April 8, 2021, 3:33am UTC](https://forum.codewithmosh.com/t/cannot-resolve-symbol-prompt/3952 "2021-04-08T03:33:20Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Bender](https://avatars.discourse-cdn.com/v4/letter/b/b9bd4f/32.png) [@Bender](https://forum.codewithmosh.com/u/Bender)\
**Post date:** [April 8, 2021, 3:33am UTC](https://forum.codewithmosh.com/t/cannot-resolve-symbol-prompt/3952/1 "2021-04-08T03:33:20Z")

</div>

Hi. I am doing the Java part 1 fundamentals and trying to follow through with the refactoring repeating patterns lesson. when I try to enter the code to make the call to the readNumbers method. it cannot find the variables that are declared in the method, whereas the video shows them coming up straight away.

thoughts

---

<div class="post-metadata">

**Author:** ![Bender](https://avatars.discourse-cdn.com/v4/letter/b/b9bd4f/32.png) [@Bender](https://forum.codewithmosh.com/u/Bender)\
**Post date:** [April 8, 2021, 3:39am UTC](https://forum.codewithmosh.com/t/cannot-resolve-symbol-prompt/3952/2 "2021-04-08T03:39:08Z")

</div>

disregard. i was trying to type “prompt” instead of the values i needed.

apologies
