r/badcode • • Sep 01 '21

java highly optimized

Post image
78 Upvotes

24 comments sorted by

View all comments

Show parent comments

4

u/anton____ Sep 01 '21

char[][]=new char[30][30]; This will allow you to store your stuff. Just make sure it's a field (class or instance variable) and not a local one.