Java Strings Introduction

  • + 1 comment
    What if A and B are equal ?
    try this
    (A.compareTo(B)== 0?"Yes":"No" )     // a == b