Christmas Sale
CodeGym University
Learning
Courses
Tasks
Surveys & Quizzes
Games
Help
Schedule
Community
Users
Forum
Chat
Articles
Success stories
Activity
Reviews
Subscriptions
Light theme
Java Blog
Reviews
About us
Start
Start learning
Start learning now
Articles
Authors
All groups
All Articles List
You must belong to more groups
Create article
All groups
New
Artem Divertitto
Keywords in Java
15 January 2025 13:01
Access Modifiers in Java
Hi! In today's lesson, we'll get acquainted with the concept of access modifiers and consider examples of how to work with them. Of course, saying 'get acquainted' isn't quite right: you are already familiar with most of them from previous lessons. Just in case, let's refresh our memory of the most important...
Pavlo Plynko
Java Collections
14 January 2025 12:24
Java Hashtable
Java Hashtable class is one of the oldest members of Java Collection Framework. It is an implementation of mathematical hash table data structure. In Java hashtable internally contains buckets where the key/value pairs are stored. Hashtable is pretty similar to HashMap. The most significant difference between...
Oleksandr Miadelets
Java Algorithms
14 January 2025 10:46
Insertion Sort in Java
Sorting arrays is one of the most common operations a Java beginner should know how to do. Although arrays aren't always the most convenient way to arrange data and this applies mostly to small numbers, the concept behind array sorting has tons of applications...
Artem Divertitto
Design Patterns in Java
13 January 2025 12:47
Java Singleton Class
Hi! Today we'll dive into the details of various design patterns, starting with the singleton pattern. Let's review: what do we know about design patterns in general? Design patterns are best practices that we can apply to solve a number of known problems...
Jesse Haniel
Java Collections
13 January 2025 11:36
Java Priority Queue: not a classical queue
In this article we learn a priority queue, Java class, that implements Queue interface. What does a programmer know of regular Queue Interface? First of all, this interface is based on the FIFO principle or “first in first out”. That reminds a regular queue in its common meaning. You want to get coffee from McDrive?
John Selawsky
Statements in Java
12 January 2025 14:09
IF ELSE Java Statements
An if else statement in Java is a conditional statement. Java uses conditions just like mathematics, allowing comparisons that yield Boolean results. So you can test inputs to see how they compare to a static set of values that you specify. Because the result is Boolean, there are only two possible results...
Oleksandr Miadelets
Java Collections
12 January 2025 14:06
Java Queue Interface and implementations
Here we are going to discuss the Java Queue interface. You’ll find out what Queue data structure is, how it is represented in Java, what methods are the most important for all queues. Also, what implementations of Queue are in Java language. After that, we take a closer look at the most important...
Artem Divertitto
Java Collections
11 January 2025 9:22
ArrayList to Array Conversion in Java
Arrays are an extension of the Container class in Java and can be useful as a way to temporarily hold a set of primitive data types when the quantity of data is specifically known. But Arrays are static when created, which means that when you create one, you cannot change the number of items it holds...
Oleksandr Miadelets
Java Collections
11 January 2025 8:54
Java Iterator
Imagine that you go to the library, and you want to find a particular book. How do you do it? If it’s non-fiction, there’s the Dewey Decimal System. If it’s fiction, they’re sorted in alphabetical order by their last name. Whatever you’re looking for, at some point, you have to go through the books one at a time until you...
Jesse Haniel
Keywords in Java
10 January 2025 10:23
Java This Keyword
On CodeGym, students are introduced to the this keyword literally from the first lessons. Over time, its meaning becomes clear. But looking back, many people probably admit to themselves that for a long time they couldn't understand the Zen of this keyword. This article will pull back the curtain covering the secrets...
Oleksandr Miadelets
Java Numbers
10 January 2025 8:25
BigDecimal in Java
Hi! In today's lesson, we'll talk about large numbers. No, I mean REALLY BIG. We have previously repeatedly encountered the table of value ranges for primitive data types. It looks like this...
Volodymyr Portianko
Java Generics
9 January 2025 13:58
Generics in Java
Hi! We're going to talk about generics. I must say that you will learn a lot! Not only this lesson, but also the next few lessons, will be devoted to generics. So, if you're interested in generics, today's you're lucky day: you will learn a lot about the features of generics. And if not, resign yourself and relax...
Show more
1
2
3
...
72
Please enable JavaScript to continue using this application.