What is String in java? And why is it use in java?
String is a datatype. for more information, I would suggest you take a look at [this](http://docs.oracle.com/javase/7/docs/api/java/lang/String.html) and go over your textbook/course notes again. it's a very basic datatype, used in every application I've ever seen and most likely in every application/code I have yet to see, so studying up a … Read More
a String may look like an array of chars, but it isn't. don't get fooled by looks. Read More
Char doesn't exist. char is a primitive type, Character is it's wrapper class. if a String was an array of chars, do you really think that the String class would provide [this method](http://docs.oracle.com/javase/7/docs/api/java/lang/String.html#toCharArray())? Read More
To be fair, the Java 7 source code for String begins public final class String implements java.io.Serializable, Comparable<String>, CharSequence { /** The value is used for character storage. */ private final char value[]; ... so you could reasonably say that a String is an array of chars wrapped in a … Read More
Conceptually, a [string](http://en.wikipedia.org/wiki/String_(computer_science)) is an object that holds a piece of written text. The name 'string' is historical, and refers to the concept of ['string rewriting'](http://en.wikipedia.org/wiki/Semi-Thue_system), a mathematical technique for analyzing sentences in an abstract grammar; the intended mental image is of pieces of paper held together by a (physical) … Read More