How input 2d characters array in Java? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

How input 2d characters array in Java?

6th May 2018, 3:23 AM
Bharat Manchanda
Bharat Manchanda - avatar
3 Answers
+ 5
You mean with char data type? It's like the others. If you are getting an error check if you are using single cotation mark not double. https://code.sololearn.com/c6ZfotCjqnyt/?ref=app
6th May 2018, 3:42 AM
Leonardo Matheus
Leonardo Matheus - avatar
+ 2
like this {{'1','2'},{'1','2'}}
6th May 2018, 3:40 AM
kai
+ 2
thanks
12th May 2018, 11:16 AM
Bharat Manchanda
Bharat Manchanda - avatar