S
Silver
Practice
My progress
Compiler
Sign in
Working…
Practice
›
Java Fundamentals
›
Module 1. Values, Variables & Expressions
›
1.5 Strings
Task
5
of
15
·
0
solved ·
15
to go
0%
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
You can read the problem, but answers are checked only for signed-in students.
Sign in to answer →
1.5 Strings — price line
Total: 0 / 3 pts
Practice mode — check each part and get hints as you go.
Task
Store the number 7 in a variable and print a line with the label in front of it.
Price: 7
Your solution
public class Main { public static void main(String[] args) { // print the label and the number on one line } }
Next task →