#I just need to fix my variable names
1 messages ยท Page 1 of 1 (latest)
<@&987246399047479336> please have a look, thanks.
While you are waiting for getting help, here are some tips to improve your experience:
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.
idk about your IDE, but in most IDEs you can F2 in the variable name and change everywhere it is used
also whats your question?
one sec
k thx
your constructor is not taking an String argument
first error what part of code is it associated wth
your method isEvenLength is taking an argument, it shouldn't
it should use the class member word
k thanks
same for the firstSameLastLetters
so it should be using word.(whatever method)
I mean this word
yea
yes
๐
also
nah bc tell me why my teacher didnt inform me of this when i stayed after school for 30 min ๐
your endsWith should be comparing word and its argument, not its argument with "cat"
no its supposed to
idk y but it is
supposed to be hardcoded like that
I BET the word cat is used in the tests, not in the actual implementation
oh yea
wait no no
my misunderstanding
when i went in tday he said u only need to use "cat"
no offense, this is kind of intuitive for Java programmers, but if I recall correctly, in another question you said you were very new to Java, so that's fine
well, it's weird :p sometimes it's easier to code the thing in your own intuition them to understand wtf they expect you to code
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
I feel python the complete opposite lol
well in my highschool java is only offered as a college level course while python is just advanced
where did u find this?
the other half of the screen
LMAOO
I missed that when I saw your code, cause I have goldfish attention lol
yea lol I didnt even realize I wrote that
time to go crank some code thanks for the help!
@stiff lagoon
I fixed everything u said but i still am getting the same error
nvr mind got it
xD