-2

I want to create a character array like this one below: character array

i am unable to find a method . Please help me out. Beginner in java

1

1 Answer 1

-1
char[][] x = new char[][]{};
x[0][1] = 'c';

...

Sign up to request clarification or add additional context in comments.

3 Comments

thank you for the answer, can you tell how to build it by taking user inputs
@simoncowell Please read: Can I ask only one question per post?

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.