区别就是两者意思表示n. 大写字母是一样的,但其他具体的不同如下

uppercase中文意思是v. 以大写字母印刷,n. 大写字母adj. (字母)大写的

With the exception that one of the listeners converts the input string to uppercase, the code for the listeners is exactly the same.

capital中文意思是n. 资本,资金资本家,资方首都,首府,省会活动(或生产)中心大写字母柱顶,柱头adj. 可处死刑的大写的首府的,省会的<旧>顶好的,极好的