Autumn Discount
CodeGym University
Learning
Course
Tasks
Surveys & Quizzes
Games
Help
Schedule
Community
Users
Forum
Chat
Articles
Success stories
Activity
Reviews
Subscriptions
Light theme
Group
Reviews
About us
Start
Start learning
Start learning now
Articles
Authors
All groups
All Articles List
CodeGym
/
Java Blog
/
Java Arrays
Java Arrays
40 members
Leaderboard
Popular
New
Old
Volodymyr Portianko
Java Arrays
19 July 2018 13:26
Something about arrays
Hi! Previously in your training, we've worked with single objects (and primitive types). But what if we need to work with a whole group of objects instead of just one? For example, say we want to create a list of birthdays of all employees at our company. We'll benefit from a special data structure called an array ...
Aditi Nawghare
Java Arrays
11 November 2022 9:20
Arrays class
Hello again! :) In the last lesson, we got to know such a data structure called an array. We learned how to create them and fill them with data. And we looked at how they're stored in memory. Today we'll look at some tasks and examples of working with arrays that you will often see in real work ...
Oleksandr Miadelets
Java Arrays
27 June 2019 10:35
Arrays in Java
Imagine cabinets in a storage room. Each of them has its own number, and each of them stores some Baggage object. Or a wine list where every kind of wine is numbered and you order by giving the number of your drink. Or a list of students in which "Adams" is recorded in the first position and "Zimmer" is last...
Vasyl Malik
Java Arrays
17 July 2021 8:21
Arrays.copyOf() Method in Java
What is Arrays.copyOf() method in Java? Java class java.util.Arrays provides a method called Arrays.copyOf() that returns a copy of an array passed as a parameter to this function, followed by specifying...
Pavlo Plynko
Java Arrays
14 September 2020 10:51
Reverse an Array in Java
Arrays are used frequently in coding and are a way of storing multiple values of the same type in one variable. There may be many reasons why a coder may want to reverse an array. It may be necessary to reverse an array, for example, when the logic of a problem needs to start with the last element.
Volodymyr Portianko
Java Arrays
18 November 2020 12:55
How To Add a new Element To An Array In Java
Oh, Java arrays. They are the object of intense love and hatred of hundreds of beginner software developers. Adding elements to an array that was already initialised is impossible, they said… Actually, it is possible, but not in a classical meaning...
Oleksandr Miadelets
Java Arrays
5 October 2020 12:14
Matrix in Java - 2D Arrays
“A matrix is a collection of numbers arranged into a fixed number of rows and columns.” Usually these are real numbers. In general, matrices can contain complex numbers but for the sake of simplicity we will only use whole numbers here. Let’s have a look at what a matrix looks like...
Volodymyr Portianko
Java Arrays
9 September 2020 8:24
Arrays.asList() Method in Java
A lot of beginners jumble up the concept of Arrays.asList() method with the data structure ArrayList. Even though they might look and sound similar, these two are totally different when it comes to implementation. In this post, we’ll cover the basic use of...
Alex Vypirailenko
Java Arrays
10 February 2022 7:50
Java System.arraycopy() Method
What is Java System.arraycopy() Method? The java.lang.System.arraycopy() method copies a source array, at a specific beginning position, to a destination at a given index...
John Selawsky
Java Arrays
10 May 2023 13:15
String Array in Java
Often the first data structure a novice programmer gets acquainted with is an array. That's because arrays are fairly easy to learn. A one-dimensional array is a sequence that consists of a fixed number of cells in which data can be stored. In the case...
This website uses cookies to provide you with personalized service. By using this website, you agree to our use of cookies. If you require more details, please read our
Terms and Policy
.
Accept and close
Please enable JavaScript to continue using this application.