Answer Posted / modi
In Java strings are objects designed to represent a sequence
of characters. Because character strings are commonly used
in programs, Java supports the ability to declare String
constants and perform concatenation of Strings directly
without requiring access to methods of the String class.
This additional support provided for Java Strings allows
programmers to use Strings in a similar manner as other
common programming languages.
A Java String is read-only and once created
the contents cannot be modified.
Is This Answer Correct ? | 14 Yes | 1 No |
Post New Answer View All Answers
What is number data type?
What is a package in java? List down various advantages of packages.
Is java free for commercial?
How are variables stored in memory?
Write a java program to print fibonacci series?
Describe what happens when an object is created in java ?
What is meant by memory leak?
Explain the difference between transient and volatile in java?
what are Hostile Applets?
How can you handle java exceptions?
Why chararray() is preferred over string to store the password?
java program with complete 4 oops concepts implemented example
What are the various access specifiers in java?
Is there any limitation of using inheritance?
Can we convert integer to string in java?