我有一个数组:
char[] modifiers = {'A', 'M', 'D'};
和变量:
char a = 'D'
如何在数组中获取变量值的位置?
谢谢
java arrays
arrays ×1
java ×1