Java Strings Introduction

  • + 4 comments

    it means if A is greater than B then it should print Yes...else No.. for example if A is ravi and B is apreddy then then the difference between 'r' of ravi and 'a'of apreddy is 18-1=17 it means positive value.so here it is positive result. hence B i.e,apreddy is lexicographically first..