How many bits is a string in java?



How many bits is a string in java?..

Answer / Kazim Raza

Strings in Java are not stored as a fixed number of bits. Instead, they are objects that store sequences of Unicode characters. The memory size required for a string depends on its length.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Core Java Interview Questions

Can arraylist hold different types java?

1 Answers  


How do you check if a number is a perfect square?

1 Answers  


How to do validation of the fields in any project ?

2 Answers  


Is java 1.7 the same as java 7?

1 Answers  


What is a boolean field?

1 Answers  


is it possible to instantiate the math class?

1 Answers  


What do bitwise operators do?

1 Answers  


Why is whitespace important?

1 Answers  


Explain the term virtual machine?

1 Answers   Adobe,


Can a class extend more than one class?

1 Answers  


Java run-time system generates What class of exceptions?

2 Answers   TCS,


How do you declare an infinite loop?

2 Answers  


Categories