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
Volodymyr Portianko
Java Collections
December 24, 2024 at 8:56 AM
How to create a dictionary in Java
If you need to create a dictionary in a Java program, the most logical way to solve this problem is to use the dictionary data structure. This data structure allows you to store information in the form "key - value". Java has a special Dictionary...
John Selawsky
Strings in Java
December 23, 2024 at 12:53 PM
Java String replace() Method
What are the common replace() methods of String class in Java? The String class provides four different kinds of replace() methods in Java. Each of the methods addresses a specific use case. Their names are listed below...
Vasyl Malik
Java Arrays
December 23, 2024 at 9:21 AM
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...
Volodymyr Portianko
Java Collections
December 22, 2024 at 7:29 AM
HashMap computeIfAbsent() method in Java
Java 8, as many of us know, introduced the Stream API. This is a very useful toolkit, but it has a drawback, it does not include Maps. However, Java 8 added several useful methods to the Map interface itself to reduce the amount of "bad" code...
Alex Vypirailenko
Strings in Java
December 21, 2024 at 12:12 PM
Printf() in Java
printf() method belongs to the Java standard library and plays an important role in formatting output. This article will provide beginners with a comprehensive understanding of the printf() method, its purpose, and how to use it effectively...
John Selawsky
Java Collections
December 21, 2024 at 8:49 AM
HashMap getOrDefault method in Java
What is the getOrDefault method for HashMaps in Java? “The getOrDefault method returns the value mapped to the specified key in a HashMap. If that key is not present then a default value is returned.”...
Aditi Nawghare
Keywords in Java
December 20, 2024 at 6:47 PM
Java Protected Keyword
In Java, access modifiers control the visibility of classes, methods, and variables. "Protected" is one of these modifiers that restricts the accessibility of a class member...
Alex Vypirailenko
Java Numbers
December 20, 2024 at 11:08 AM
How to convert String to int in Java
In this article we are going to discuss converting String to int (primitive type) and Object type (wrapper) Integer. There are many ways to do it in Java.
Jesse Haniel
Strings in Java
December 17, 2024 at 3:38 PM
How to convert int to String in Java
In this article we are going to discuss converting int (primitive type) and Object type (wrapper) Integer to String. There are many ways to do it in Java. Convert by adding an empty string. The easiest way to convert int to String is very simple. Just add to int or Integer an empty string "" and you’ll get your...
Vasyl Malik
Learning Python
December 17, 2024 at 12:17 PM
Python Not Equal Operator
Today, we're going to explore a handy little operator that’s small in size but mighty in functionality: the Python "not equal" operator. If you’ve ever needed to check if two values are different, you’ll be glad to know that Python makes it simple and straightforward with this operator
Artem Divertitto
Java Objects
December 17, 2024 at 10:58 AM
Pairs in Java
In programming, there are situations where we need to work with pairs of values, where each value has a corresponding key associated with it...
CodeGym
Random
December 14, 2024 at 3:03 PM
Java and Python in 2024: Version Releases, Rankings, and Key Events
As we reach mid-December, it's time to reflect on the year that is ending. The Java and Python development world has seen many changes throughout 2024...
Show more
1
...
12
13
14
15
16
...
76
Please enable JavaScript to continue using this application.