#I just need to fix my variable names

1 messages ยท Page 1 of 1 (latest)

stuck meadow
#

I know that your not going to make the code for me but I have it all set its just the variable names are all switched up

drowsy garnetBOT
#

<@&987246399047479336> please have a look, thanks.

drowsy garnetBOT
#

While you are waiting for getting help, here are some tips to improve your experience:

Code is much easier to read if posted with syntax highlighting and proper formatting.

If nobody is calling back, that usually means that your question was not well asked and hence nobody feels confident enough answering. Try to use your time to elaborate, provide details, context, more code, examples and maybe some screenshots. With enough info, someone knows the answer for sure.

Don't forget to close your thread using the command </help-thread close:1027500463647621170> when your question has been answered, thanks.

#

Here is an AI assisted attempt to answer your question ๐Ÿค–. Maybe it helps! In any case, a human is on the way ๐Ÿ‘. To continue talking to the AI, you can use </chatgpt:1108714622413963314>.

#

Sure, I can help you fix your variable names. Please provide the code snippet where you want the variable names to be fixed, and let me know what the correct variable names should be.

stiff lagoon
#

idk about your IDE, but in most IDEs you can F2 in the variable name and change everywhere it is used

stuck meadow
#

one sec

stiff lagoon
#

your constructor is not taking an String argument

stuck meadow
#

first error what part of code is it associated wth

stiff lagoon
#

your method isEvenLength is taking an argument, it shouldn't

#

it should use the class member word

stuck meadow
#

k thanks

stiff lagoon
#

same for the firstSameLastLetters

stuck meadow
#

so it should be using word.(whatever method)

stiff lagoon
#

I mean this word

stuck meadow
#

yea

stiff lagoon
stuck meadow
#

๐Ÿ˜

stiff lagoon
#

also

stuck meadow
#

nah bc tell me why my teacher didnt inform me of this when i stayed after school for 30 min ๐Ÿ˜

stiff lagoon
#

your endsWith should be comparing word and its argument, not its argument with "cat"

stuck meadow
#

idk y but it is

#

supposed to be hardcoded like that

stiff lagoon
stuck meadow
#

oh yea

#

wait no no

#

my misunderstanding

#

when i went in tday he said u only need to use "cat"

stiff lagoon
stiff lagoon
stuck meadow
#

java is putting me in my place ig

#

python was a breeeze

#

but i mean it is a college course so i should have expected this workload

stiff lagoon
stuck meadow
#

well in my highschool java is only offered as a college level course while python is just advanced

stuck meadow
stiff lagoon
stuck meadow
#

LMAOO

stiff lagoon
#

I missed that when I saw your code, cause I have goldfish attention lol

stuck meadow
#

yea lol I didnt even realize I wrote that

#

time to go crank some code thanks for the help!

#

@stiff lagoon

stuck meadow
# stuck meadow

I fixed everything u said but i still am getting the same error

#

nvr mind got it

stiff lagoon
#

xD