r/javahelp • • Apr 01 '22

help with java code

hi i’m trying to write code for an assignment and a part of my code (i < drywet.length && i < wetwet.length) are underlined red. it says “the operator < is undefined for the argument type(s) int, Object”

can someone please explain what i need to do to fix it?

0 Upvotes

14 comments sorted by

View all comments

0

u/[deleted] Apr 01 '22

Youre super close. Its the syntax with the way you have it written, right idea. Super close

-1

u/rpgirl5284 Apr 01 '22

okay how do i fix it

1

u/[deleted] Apr 02 '22

Per the rules of the subreddit, i cant give away answes. Look up how to use boolean operators

1

u/Actual_Fapper37 Apr 19 '22

Can you text me. My account is new i cant text you.