Then dont use java, because with this attitude you wont get far with it. The java language has a certain philosophy, and what you just said is violating that philosophy quite heavily. Its just not...
Type: Posts; User: Cornix
Then dont use java, because with this attitude you wont get far with it. The java language has a certain philosophy, and what you just said is violating that philosophy quite heavily. Its just not...
Nope, its not possible. A string is an object, the characters of the string are its private member attribute and you have absolutely no control over it.
The difference between a string and a char...
You cant. There is no way for you to actually know how much memory these objects cost. It could be different for every JVM, it could be different every time you run your program.
You are simply not...