Promotion
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
Milan Vucic
Statements in Java
January 8, 2025 at 9:42 AM
Java Switch Statement
Imagine that you're a knight stopped at a fork in the road. If you go left, you will lose your horse. If you go right, you will gain knowledge. How would we represent this situation in code? You probably already know that we use constructs like if-then and if-then-else to make these decisions...
Jesse Haniel
Java Collections
January 7, 2025 at 2:02 PM
Linked List Data Structure in Java
Different data structures are created for different purposes. You may know about ArrayList (if still not, we recommend you to read about it first). In this article, we are going to learn about LinkedList and to realize what this collection is good for. If you look into LinkedList Java 8 (or later version of the language)...
Oleksandr Miadelets
Keywords in Java
January 7, 2025 at 8:02 AM
Java Final Keyword
Java has this keyword — final. It can be applied to classes, methods, variables (including method parameters). For a class, the final keyword means that the class cannot have subclasses, i.e. inheritance is forbidden... This is useful when creating immutable (unchangeable) objects. For example...
Milan Vucic
Java Collections
January 6, 2025 at 1:15 PM
Java Stack
Stack in Java usually means the class from Collection Framework that implements the List interface. It works on the principle of the Stack data structure, which is used to organize one of the types of memory. Also it could be the part of memory to keep data, In this article we will...
Oleksandr Miadelets
Java Classes
January 6, 2025 at 11:59 AM
Java Timer Class
The Java Timer Class is a powerful tool that allows you to schedule tasks to be executed at specified intervals. Whether you need to run a task once or repeatedly, the Timer Class provides a convenient way to automate...
Jesse Haniel
Java Classes
January 5, 2025 at 11:15 AM
Java Constructors
Hi! Today we'll consider a very important topic that concerns our objects. Without exaggeration, we can say you'll use this topic in real life every day! We're talk about constructors. This may be the first time you're hearing this term, but you've actually already used constructors. You just didn't realize it ...
Vasyl Malik
Core Java
January 5, 2025 at 11:03 AM
Get Environment variables in Java
Every computer programming language contains variables and constants which allocate unique memory locations, containing information to be used by the programs. Constants values are not changeable but the variable’s value can be changed...
Volodymyr Portianko
Java IO & NIO
January 4, 2025 at 2:31 PM
Java PrintWriter Class
What is the PrintWriter Class in Java? “PrintWriter is a class used to write any form of data e.g. int, float, double, String or Object in the form of text either on the console or in a file in Java.” For example, you may use the PrintWriter object to log data in a file or print it on the console...
Alex Vypirailenko
Java Numbers
January 4, 2025 at 12:07 PM
Integer Division Java
Division in Java takes place normally like regular division in mathematics or real life. However, it just discards the remainder. For example, if you divide 9 by 2 the quotient is 4 and the remainder is 1...
Jesse Haniel
Java Algorithms
January 3, 2025 at 3:18 PM
QuickSort in Java
There's a whole smorgasbord of sorting algorithms in the programming world, each flaunting its uniqueness in efficiency (think execution time and memory usage) and simplicity of...
Artem Divertitto
Java Math
January 3, 2025 at 8:40 AM
Java Math abs() method
What is the absolute value function in Mathematics? In mathematics, the absolute value of a number is equal to the positive value of the number passed.The absolute value function ignores the sign and returns the value without it...
Milan Vucic
Java Collections
January 2, 2025 at 2:40 PM
How to iterate a Map in Java
In this post, we will learn different ways to iterate a Map in Java. Some of its common ways and how to use those with the help of examples. Before getting started, we assume you understand interfaces and maps in Java. However, here’s a quick recap for you...
Show more
1
...
16
17
18
19
20
...
83
Please enable JavaScript to continue using this application.