Catalog
Full catalog
Resources
Blog
University
Guide
Bootcamps
Provided by
JetBrains Academy
Creators of the most popular IDEs:
IntelliJ IDEA, PyCharm
& others
Authors of
Kotlin
,
Google's preferred language
for Android
More than
11.4 million developers and 300,000 companies worldwide
use JetBrains IDEs to create their products
Pricing
For Business
Sign in
Start for free
Computer science
Programming languages
Java
Code organization
Code style
Naming variables
Suggested problems
Name That! A Peek into Best Naming Picks
Unicode or not
Fix invalid variable name
Improve the variable name
The last symbol of a name
CatDog variable
Determine whether the name is valid
Valid and invalid names
Skip topic
Theory
Determine whether the name is valid
Report a typo
You want to declare a variable named
int
.
Determine whether this name is valid or not (and why?). A name is valid when the program will work.
Select one option from the list
Get unstuck
Comments
Get help from the community
Code snippets
See topic-related syntax examples
This name is not valid because it is a keyword.
This is a valid name.
This name is not valid because it does not make sense for humans (what is int?)
This name is not valid because it starts with a letter.
2105
learners liked this problem.
15
didn't like it.
What about you?
___
Create a free account to access the full topic
Sign up with Google
Sign up with GitHub
Sign up with JetBrains Account
Sign up with email
By continuing, you agree to the
JetBrains Academy Terms of Service
as well as
Hyperskill Terms of Service and Privacy Policy
.
Comments (11)
Hints (6)
Useful links (2)
Show discussion
Open chat with AI Assistant