A variable on our screen

  • 1
  • Locked
A beginning Java programmer first learns to declare (variables), assign (values ​​to variables), and display (variables and values). In this task, we will practice all three basic skills. Create a String variable, assign a value, and then display it.
You can't complete this task, because you're not signed in.
Comments(37)
  • Popular
  • New
  • Old
You must be signed in to leave a comment
julia SuchiLevel 3 , Sunnyvale
8 October 2019, 18:07
/* Comment has been deleted */
RomanLevel 41
9 October 2019, 06:28
Posting the solution in the comments is prohibited.
Oana rOBULevel 2 , Bucharest
19 August 2019, 10:48
/* Comment has been deleted */
RomanLevel 41
9 October 2019, 06:29
Posting the solution in the comments is prohibited.
SabaLevel 2 , Lahore
27 July 2019, 21:26
I'm enjoying ho-hoooo
Ankita SabnisLevel 2 , Mumbai
16 June 2019, 12:16
how to get output? there is no option of getting output of program..
bsLevel 4 , Kuala Lumpur
16 April 2019, 14:23
yes
Saksham JoshiLevel 1 , Ludhiana
25 February 2019, 09:21
String name = hijack;//write your code here System.out.printIn("name"); WHAT IS WRONG IN THIS?
AlexLevel 41
25 February 2019, 11:55
Please read this lesson carefully.
AibohphobiaLevel 1 , Fort Campbell
25 March 2019, 01:22
Saksham, 1. Always put ";" on the end of your line(s), think of it as a "."; 2. You do not need the "" on line 2; 3. You do need the "" on line 1; Screen output: hijack//write your code here Addendum: since "//" is for "remarks" it may actually ignore everything after the // as a comment. You may find it easier to get in the habit of starting on code line #11, directly under: //write your code here As not to get your work mixed in with it; hope this helps
Beautiful Active DedicatedLevel 4 , Arlington, TX
16 April 2019, 04:21
you just told him to add ; lol
NirmaLevel 2 , Bangalore
24 February 2019, 12:37
How to unlock it? "To access the task, you need to unlock the lesson that contains it." Which lesson contain it,how 'll i know?
RomanLevel 41
25 February 2019, 07:36
ruhLevel 2 , Indore
16 February 2019, 06:48
why the code is not execute??
RomanLevel 41
18 February 2019, 06:43
If you need help, something isn't right in your code, the server won't accept your solution (even if you are 100% sure that it is correct). Describe your question/issue in the HELP section at codegym.cc/help.
medLevel 1 , Rabat
4 November 2018, 01:40
how to open this level
RomanLevel 41
5 November 2018, 06:25
Try to open this link first - https://codegym.cc/quests/lectures/questsyntax.level01.lecture03
Memoona ArifLevel 1 , Karachi
18 October 2018, 16:42
String name="I'm diego"; system.out.println(name); what is wrong with this code ?
RomanLevel 41
19 October 2018, 06:14
If you need help, something isn't right in your code, the server won't accept your solution (even if you are 100% sure that it is correct). Describe your question/issue in the HELP section at codegym.cc/help.
Vartaman IngoleLevel 6 , Wardha
28 October 2018, 07:53
system.out.println(name); Memoona Arif, please use System in place of system