Skip to Main Content

Java APIs

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

operator && cannot be applied to boolean, int

843810Sep 28 2004 — edited Oct 1 2004
this is my current statement:

while((j > 0) && students[j-1].compareTo(temp))){

i am making a database and i have a list of students and i need to do a sort (trying to do insertion but id take anything). how can i change the && so that i dont get an error. please email me. dvShogun@gmail.com

also, id anybody wants gmail, i have tons of invites that i want to get rid of.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 29 2004
Added on Sep 28 2004
4 comments
206 views