As other languages, String in java is also a sequence of characters. But java does not implement string as an array of character rather it considers it as a complete object of type string. How to create a string object using new keyword and literal...

Markdown supported · ⌘↵ to post
Shai Almog
Yak Barber, duck whisperer, hunter of bugs, feeder of dogs, heap climber, stack explorer and rider of shells
Great job, cool stuff with jdoodle!
With Strings I always think about
intern()but I'm not sure when is the right time to teach that stuff to beginners...