So I'm having a bit of problem with the concept of strings. What are they?
Any text longer than one character is a String. So words, sentences, paragraphs, passwords, email addresses, the content of the email, the headlines of a newspaper, phone numbers, postal codes, all are Strings. Strings are surrounded by " ", whereas for characters we use ' '.
String greeting = "Hello, I am a String" ;
char hepatitisType = 'C' ;
Strings is group of char , you can define with double quote"," And add 2 String with + Sign Ex: "a"+"b";
Group of characters
The string are words or characters or sentence or phrase
Like "Mohammad is my name"
Or "What is your name!?"