Declare variables

  • 1
In Java, you can't simply start using a variable! Nobody will understand you. Compilers won't understand and they'll curse at you—you'll see! So if you decide to do something with a variable, you have to announce your intentions publicly! Let's write a program that declares int and String variables.
You can't complete this task, because you're not signed in.
Comments (41)
  • Popular
  • New
  • Old
You must be signed in to leave a comment
Manoj Rajbanshi
Level 1, Daly City, United States
27 April, 03:33
22 March, 11:07
Thank you codegym
22 March, 11:06
its the best way I have ever learned programming
Level 1, Suwanee, United States
7 December 2020, 15:31
Sekhar Datta
Level 0, Delhi
27 November 2020, 15:52
It is becoming more and more interesting!!
Neil Waghmare
Level 0, Bellambi
26 November 2020, 03:23
Hakim Akbary
Level 0, Stockholm
25 September 2020, 14:25
the guy/team who came to this idea and developed it so it became reallity deserve an award! Thank you so much for giving us the opportunity to train our mind
HeLen Evelyn Valdez
Level 1, Makati, Philippines
21 August 2020, 04:04
12 August 2020, 15:43
Level 9, Houston, United States
28 July 2020, 14:59
Done and done