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

3

u/FavorableTrashpanda Apr 01 '22

Not enough information.

-3

u/rpgirl5284 Apr 01 '22

could you dm me? i’m honestly not sure what more you’d like

3

u/scatteredRobot Apr 01 '22

Well what is I what are wetwet and wetdry and what is length? Are they objects, functions, or variables and if so what type?

3

u/desrtfx Out of Coffee error - System halted Apr 02 '22

See Rule #7

Asking for or offering help outside the subreddit is explicitly forbidden. This is so that more people can chime in and help as well as benefit from the given help.

Read /u/Automoderator's comment. It will tell you what all is needed.