Computer Science, asked by himanshuyadav49, 1 year ago

Declaration of string and its initalization.​

Answers

Answered by shrutigovil
0
string is declared with a keyword String
eg for initialization:

String num;
num = jTextField1.getText();

hope it helps
please mark it as brainliest if you find it helpful
Answered by Anonymous
0

char A [50] = "Hello World"

//A is the array name and 50 is the array size.

Similar questions