Computer Science, asked by adegudia6017, 10 months ago

What is a string ?assign a string "cbse school "into a variable str.

Answers

Answered by sarthaksingh62
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 shanjitha2227
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
Similar questions