why string is not taking as primitive datatypes but we r
taking it as a class? why explain it?
Answer Posted / ankit
All primitive types have fixed memory size. Now in case of
the String, its length is not fixed and so is its size.
That's why it cannot be a primitive data type.
Is This Answer Correct ? | 5 Yes | 2 No |
Post New Answer View All Answers
Is an empty arraylist null?
How do you sort a string in java?
What is file in java?
Is a case study a method or methodology?
List two java ide’s?
What are serialization and deserialization?
How is tree Mirroring implemented?
What are the 6 mandatory procedures for iso 9001?
Explain static nested classes ?
Is oracle java 11 free?
What is the diffrence between inner class and nested class?
Can you instantiate the math class?
Mention some features of java?
How can a gui component handle its own events?
What is the difference between the ">>" and " >>>" operators in java?