How did you guys manage to make peace with all these inconsistencies? One loop allows you to declare a variable, others don't, chars go with single quotes, strings with double quotes, arrays have length fields, strings only have length methods, arrays are declared similarly to regular objects, arrayLists are declared with <> (where you have to write Integer instead of just int)... The list goes on and on...
no matter which language you use, there will always be exceptions to the rules
normally, I would recommend learning a language with much fewer exceptions, but I dont know the reason for why you are learning Java, so can't really recommend anything in particular