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
Working with data
Arrays
Array
Suggested problems
Allocation memory
Determine the output
Mystery of the array
Basic operations
Creating arrays
Initializing an array of integers
Initializing an array of characters
Initializing an array of longs
Ways to create an array of ints
The last element of an array
Declarations
Initializations
Summing elements of an integer array
Skip topic
Theory
Initializing an array of characters
Report a typo
Create an array of chars named
characters
with four elements 'a', 'z', 'e', 'd' and output it.
Use the provided code template.
Write a program in Java 17
Get unstuck
Comments
Get help from the community
Code snippets
See topic-related syntax examples
Solutions
Look up answer (won't affect progress)
Code Editor
IDE
100
›
⌄
⌄
99
1
2
3
4
5
6
7
8
9
10
11
import
java.util.Arrays;
public
class
Main
{
public
static
void
main
(
String
[]
args
) {
char
[]
characters
;
System.out.println(Arrays.toString(characters));
}
}
IDE integration
Checking the IDE status
Unlock your coding potential with IDE
Using IDEs is a must for every professional developer. IDEs provide code highlighting, syntax validation, code formatting, auto-completion, the ability to debug your code, and more. Our
support team
is here to help with any issues.
Use JetBrains IDE to practice
Learn more
1189
learners liked this problem.
42
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 (17)
Hints (14)
Useful links (1)
Solutions (641)
Show discussion
Open chat with AI Assistant