#need help to find solution

1 messages ยท Page 1 of 1 (latest)

wooden smeltBOT
#

<@&987246399047479336> please have a look, 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>.

#

I'm sorry to hear that you're facing an error in your Java code. In order to assist you better, could you please provide more details about the error message you're receiving? Additionally, sharing the relevant code snippet or explaining the problem you're trying to solve would be helpful as well.

lethal venture
#

whats the problem?

#

how does the test work?

#

well yes

#

that's your code

#

but what about the test ?

ember pine
lethal venture
#

how does the test work ?

covert abyss
#

also is that the class you were given? Are they really teaching it to you with public variables, or did you adapt it?

ember pine
covert abyss
#

And like Alathreon mentioned, what does the test look like? I'd expect it to pass in the type as an argument, not like how you put it.

lethal venture
ember pine
#

this ?

lethal venture
#

I am talking about the failing test

#

what do you not understand

#

you said that you needed help because your test was failing

#

but now you don't have a test or what ?

ember pine
#

i said i need help to find the solution to the mistake i have and i have no clue what u mean when you say test

covert abyss
#

how is your class called

#

how is it "tested"

#

they could call your main as defined, and you do the outputs as is. But they might as well be calling it thrice with dog, cat, human respectively. Or with those 3 in one go

ember pine
#

so you want to see my class?

covert abyss
#

no...

#

How is your class called

#

aka tested

ember pine
#

@covert abyss i am a beginner so these terms you are using is confusing me a lot

covert abyss
#

Which ones? something is testing/calling/invoking (interchangeable in this case) in a certain manner, we're asking how that's using your code.

ember pine
#

this is so confusing

#

can i show you my code @covert abyss

covert abyss
#

you have different code than in your earleir post?

#

Ok, in that case to progress you need to check out how your code is being tested.

#

no that is your output

#

we are asking how your being called. Cfr our earlier questions/remarks

ember pine
#

i am not sure @covert abyss