compareto函数(compareto)

compareto函数(compareto)

1、compare…with…表示“把……与……相比(同类相比)”, compare…to…表示“把……比做……(异类相比,比喻)”。 2、在表示“把……与……相比”时,compare…with......