How much space does a java string array take up? More specifically, how much space (in bytes) does a string array that looks something like this:
Longbowman
kingdom
lord
weapon1,weapon2,weapon3
armor1,armor2,armor3
I ask this because I'm going to create a program that has 5,000+ of these arrays and want to know how much space it'll take up so I'll know if I should rework the data storage.
So to recap, how much space does a string array (if its quantifiable) take up?