0
How to input a char array in java?
and how to implement it in gui, too? kindly give at least one source code example
4 Respuestas
+ 3
in gui you just use a TextField and a Button and just extract the value of the TextField after the button was pressed.
happy coding!! 😄
+ 1
thanks for clarification. :)
0
do you want
String s = *input here*;
or
char[] s = new char[10];
for(int i=0;i<s.length;i++){
s[i] = *input here*;
}
or something completly diffrent?