String in Java?

Can someone please define a String in Java in as much detail as possible? Thanks so much.
Anonymous User
Anonymous User
Asked Feb 12, 2012
A "string" in Java (and most other programming languages) is simply a variable containing a series of alpha-numeric characters. Example: "I live at 123 Main street." Strings are distinguished from purely numeric variables like integers and floating point numbers in that you can't do math on them. Java also provides a string class that is used to manipulate strings.
Rob
Answered Feb 13, 2012
Java String provides a lot of concepts that can be performed on a string such as compare, concat, equals, split, length, replace, compare To, intern, substring etc.
nettechindia09
Answered Oct 23, 2015
In Java, string is basically an object that represents sequence of char values. An array of characters works same as Java string.
Zinavo
Answered Apr 13, 2020
FOR ANY QUESTIONS RELATED TO JAVA, PYTHON, PHP AND IOT. YOU CAN CONTACT US AT https://www.codingpur.com/
WE ARE HERE FOR YOU.
#JAVA #PYTHON #PHP #IOT
TGOYAAL
Answered 7 days ago

TIP: If it's not your answer to this question, please click "Leave a Comment" button under the question to communicate with the question owner.

Categories