What is a string ?assign a string "cbse school "into a variable str.
Answers
Answered by
0
Answer:
a string is a data type in java which is used to assign or hold value in words.
it is a non primitive data type.
String str=cbse school
Answered by
0
A string in Java is a set of alphanumeric characters enclosed within double quotes(" ") . you can also assign a string to a variable, where variable hold a value of string just like you hold some coins in a pocket.
I hope it will help you
Make my answer as a brainliest
I hope it will help you
Make my answer as a brainliest
Similar questions