Computer Science, asked by shah197544, 6 months ago

write a java Syntax to input the name of your city use proper data type​

Answers

Answered by supriyasahu
3

Answer:

Syntax:

<Data Type><variable>=<input/value>

String str="Mumbai";

You can use other variable and city name as per your preference.

Explanation:

HOPE THIS WILL HELP YOU:)

Similar questions