Contribute to apachecn/geeksforgeeks-java-zh-pt2 development by creating an account on GitHub.
サンプルプログラムでは、「東京」という要素を検索しようとしていますが、配列「items」の中には2つ存在しています。 しかしながら、「indexOf」メソッドは0番目から順番に検索し、最初に合致した要素のインデックス番号しか返さないので、出力結果は「0 ...
I think it's because the values of the array are being translated into NativeJavaObject instances and not to java.lang.String instances. It think that looking up the current Context and calling ...